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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2407/0.2407, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002278/0.002278, allocations: 79.86 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1268, allocations: 66.04 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5056/0.6324, allocations: 186.6 MB / 0.7384 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.6383, allocations: 3.264 MB / 0.7416 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006416/0.639, allocations: 19.81 kB / 0.7416 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.64, allocations: 321.8 kB / 0.7419 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.6442, allocations: 1.429 MB / 0.7433 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.6463, allocations: 0.7288 MB / 0.744 GB, free: 488 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.6487, allocations: 1.563 MB / 0.7456 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.6495, allocations: 379.8 kB / 0.7459 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.6508, allocations: 0.6073 MB / 0.7465 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.6516, allocations: 482 kB / 0.747 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.6518, allocations: 56 kB / 0.747 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.6543, allocations: 1.217 MB / 0.7482 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.6546, allocations: 159.4 kB / 0.7484 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.6551, allocations: 346.5 kB / 0.7487 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.6582, allocations: 1.507 MB / 0.7502 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6582, allocations: 0 / 0.7502 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6582, allocations: 0 / 0.7502 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.6582, allocations: 0 / 0.7502 GB, free: 10.16 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.002413/0.6606, allocations: 1.081 MB / 0.7512 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6607, allocations: 12.03 kB / 0.7512 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.6608, allocations: 78.52 kB / 0.7513 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6619, allocations: 143.5 kB / 0.7514 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.6629, allocations: 0.4968 MB / 0.7519 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.663, allocations: 36.98 kB / 0.752 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.663, allocations: 43.94 kB / 0.752 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.6644, allocations: 0.5945 MB / 0.7526 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6644, allocations: 3.938 kB / 0.7526 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.6645, allocations: 24 kB / 0.7526 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.6645, allocations: 12 kB / 0.7526 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.6656, allocations: 479.6 kB / 0.7531 GB, free: 7.039 MB / 0.5606 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.003751/0.6693, allocations: 2.663 MB / 0.7557 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.6702, allocations: 339.4 kB / 0.756 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.6705, allocations: 157.3 kB / 0.7562 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.671, allocations: 433.8 kB / 0.7566 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.671, allocations: 38.84 kB / 0.7566 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.671, allocations: 0 / 0.7566 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001916/0.6729, allocations: 0.7423 MB / 0.7573 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.673, allocations: 132.5 kB / 0.7575 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.6737, allocations: 498 kB / 0.7579 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.6737, allocations: 33.7 kB / 0.758 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.674, allocations: 288.2 kB / 0.7582 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6741, allocations: 119 kB / 0.7584 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.6743, allocations: 102.1 kB / 0.7584 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6745, allocations: 358.8 kB / 0.7588 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.6748, allocations: 148.8 kB / 0.7589 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.6753, allocations: 289.4 kB / 0.7592 GB, free: 288 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008305/0.6762, allocations: 441.7 kB / 0.7596 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.6762, allocations: 4 kB / 0.7596 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001196/0.6774, allocations: 0.5406 MB / 0.7602 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6774, allocations: 12.38 kB / 0.7602 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6774, allocations: 4 kB / 0.7602 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.679, allocations: 248.5 kB / 0.7604 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.6794, allocations: 99.89 kB / 0.7605 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/0.68, allocations: 0.603 MB / 0.7611 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.6804, allocations: 51.61 kB / 0.7611 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.6805, allocations: 40.88 kB / 0.7612 GB, free: 14.17 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.0003946/0.6809, allocations: 197.6 kB / 0.7614 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.6811, allocations: 55.67 kB / 0.7614 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.6834, allocations: 1.08 MB / 0.7625 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6834, allocations: 4 kB / 0.7625 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.6834, allocations: 0 / 0.7625 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6834, allocations: 7.984 kB / 0.7625 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.6853, allocations: 1.026 MB / 0.7635 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.6853, allocations: 9.297 kB / 0.7635 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.6855, allocations: 52.08 kB / 0.7636 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/0.6888, allocations: 448.1 kB / 0.764 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.6889, allocations: 8 kB / 0.764 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007154/0.6896, allocations: 0.6118 MB / 0.7646 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6896, allocations: 0 / 0.7646 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.6908, allocations: 0.5186 MB / 0.7651 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.691, allocations: 144.7 kB / 0.7652 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6911, allocations: 11.94 kB / 0.7652 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.6914, allocations: 15.98 kB / 0.7653 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.6915, allocations: 27.91 kB / 0.7653 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6915, allocations: 16.75 kB / 0.7653 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000624/0.6922, allocations: 422.8 kB / 0.7657 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6922, allocations: 4 kB / 0.7657 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001124/0.6933, allocations: 283.3 kB / 0.766 GB, free: 9.086 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.002162/0.6955, allocations: 1.332 MB / 0.7673 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.6965, allocations: 363.6 kB / 0.7676 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6965, allocations: 0 / 0.7676 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.6969, allocations: 157 kB / 0.7678 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.6987, allocations: 362.3 kB / 0.7681 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/0.7064, allocations: 4.927 MB / 0.7729 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.707, allocations: 0.8596 MB / 0.7738 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001153/0.7081, allocations: 0.5573 MB / 0.7743 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.7086, allocations: 227.3 kB / 0.7745 GB, free: 64 kB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/0.7086, allocations: 0 / 0.7745 GB, free: 64 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.7657, allocations: 21.73 MB / 0.7957 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.51, allocations: 17.22 kB / 0.7958 GB, free: 10.57 MB / 0.6075 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.609530419111252] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 13.60963848233223 13.638064302 12.974672393 Calling exit ...