Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002046/0.002047, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2191/0.2191, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2159/0.5439, allocations: 186 MB / 0.7122 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.5492, allocations: 3.26 MB / 0.7154 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.5497, allocations: 15.88 kB / 0.7154 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.5506, allocations: 329.8 kB / 0.7158 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.5538, allocations: 1.391 MB / 0.7171 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.5555, allocations: 0.7277 MB / 0.7178 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2884/0.8439, allocations: 1.554 MB / 0.7193 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.8448, allocations: 432.6 kB / 0.7198 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.846, allocations: 0.5853 MB / 0.7203 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.8466, allocations: 461.9 kB / 0.7208 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.8468, allocations: 56.95 kB / 0.7208 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.8492, allocations: 1.203 MB / 0.722 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.8494, allocations: 156.1 kB / 0.7221 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.8499, allocations: 349.8 kB / 0.7225 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.8521, allocations: 1.514 MB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8521, allocations: 0 / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8522, allocations: 0.5625 kB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.8522, allocations: 1.75 kB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001865/0.854, allocations: 1.081 MB / 0.725 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8541, allocations: 9.406 kB / 0.725 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.266e-05/0.8542, allocations: 88.52 kB / 0.7251 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.8552, allocations: 139.4 kB / 0.7252 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.856, allocations: 497 kB / 0.7257 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.856, allocations: 32.97 kB / 0.7257 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.8561, allocations: 40.06 kB / 0.7258 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8573, allocations: 0.5954 MB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.8573, allocations: 7.531 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.8574, allocations: 20.03 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.8574, allocations: 13.05 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.8584, allocations: 480.8 kB / 0.7269 GB, free: 18.15 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.862, allocations: 2.672 MB / 0.7295 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.8626, allocations: 352.3 kB / 0.7298 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.8629, allocations: 178.8 kB / 0.73 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/0.8634, allocations: 436.3 kB / 0.7304 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8635, allocations: 41.47 kB / 0.7304 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.066e-06/0.8635, allocations: 0 / 0.7304 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001677/0.8651, allocations: 0.7288 MB / 0.7311 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8653, allocations: 139.9 kB / 0.7313 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.8658, allocations: 498.9 kB / 0.7318 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.8658, allocations: 36.14 kB / 0.7318 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.866, allocations: 280.7 kB / 0.7321 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.8661, allocations: 126.6 kB / 0.7322 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.8662, allocations: 107.8 kB / 0.7323 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8664, allocations: 365.2 kB / 0.7326 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.8667, allocations: 146.9 kB / 0.7328 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.8671, allocations: 280 kB / 0.733 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.8677, allocations: 441.6 kB / 0.7335 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8677, allocations: 0.625 kB / 0.7335 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009298/0.8687, allocations: 0.5481 MB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8687, allocations: 8.781 kB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.8687, allocations: 5.359 kB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.8702, allocations: 242.1 kB / 0.7342 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.8705, allocations: 106.1 kB / 0.7343 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004809/0.871, allocations: 0.5992 MB / 0.7349 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.8714, allocations: 49.97 kB / 0.735 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.8715, allocations: 44.59 kB / 0.735 GB, free: 13.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.8718, allocations: 187 kB / 0.7352 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.8719, allocations: 54.23 kB / 0.7352 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.8736, allocations: 1.096 MB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8736, allocations: 1.812 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8737, allocations: 3.938 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.8737, allocations: 3.953 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.8751, allocations: 1.041 MB / 0.7373 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.8751, allocations: 3.781 kB / 0.7373 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.8753, allocations: 55.03 kB / 0.7374 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.8784, allocations: 444.8 kB / 0.7378 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.8784, allocations: 13.7 kB / 0.7378 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004824/0.8789, allocations: 0.6104 MB / 0.7384 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8789, allocations: 3.938 kB / 0.7384 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.8797, allocations: 0.5112 MB / 0.7389 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.8799, allocations: 135.8 kB / 0.7391 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.88, allocations: 19 kB / 0.7391 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.8803, allocations: 20.77 kB / 0.7391 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.8804, allocations: 28.31 kB / 0.7391 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.8804, allocations: 17.36 kB / 0.7391 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004831/0.8809, allocations: 421.8 kB / 0.7395 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8809, allocations: 0.9688 kB / 0.7395 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008873/0.8818, allocations: 281.8 kB / 0.7398 GB, free: 12.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001776/0.8836, allocations: 1.35 MB / 0.7411 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007739/0.8844, allocations: 381.1 kB / 0.7415 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8844, allocations: 3.531 kB / 0.7415 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.8847, allocations: 163.7 kB / 0.7417 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.8863, allocations: 353.4 kB / 0.742 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.8921, allocations: 4.935 MB / 0.7468 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.8926, allocations: 0.8613 MB / 0.7477 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000969/0.8936, allocations: 0.5568 MB / 0.7482 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.894, allocations: 226 kB / 0.7484 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.894, allocations: 0 / 0.7484 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/0.9441, allocations: 21.67 MB / 0.7696 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.17, allocations: 11.39 kB / 0.7696 GB, free: 4.184 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)