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.001576/0.001576, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00147/0.00147, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2263/0.2263, allocations: 46.94 MB / 361.6 MB, free: 4.219 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.002437/0.002437, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3331, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5808/0.9139, allocations: 186.9 MB / 0.744 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005137/0.919, allocations: 3.289 MB / 0.7472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.9197, allocations: 22.09 kB / 0.7472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.9207, allocations: 330.3 kB / 0.7475 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.9241, allocations: 1.435 MB / 0.7489 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.9259, allocations: 0.7494 MB / 0.7497 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.9277, allocations: 1.574 MB / 0.7512 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.9282, allocations: 361.8 kB / 0.7516 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.929, allocations: 0.6026 MB / 0.7522 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.9295, allocations: 487.6 kB / 0.7526 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.373e-05/0.9296, allocations: 52.19 kB / 0.7527 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.9317, allocations: 1.234 MB / 0.7539 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.9318, allocations: 167 kB / 0.754 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.9321, allocations: 348.4 kB / 0.7544 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.934, allocations: 1.518 MB / 0.7558 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.934, allocations: 0 / 0.7558 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.934, allocations: 1 kB / 0.7558 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.934, allocations: 0 / 0.7558 GB, free: 1.551 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.001699/0.9357, allocations: 0.9996 MB / 0.7568 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.9357, allocations: 11.03 kB / 0.7568 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.053e-05/0.9358, allocations: 89.25 kB / 0.7569 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.9368, allocations: 140.2 kB / 0.7571 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.9375, allocations: 446.5 kB / 0.7575 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.9375, allocations: 31.59 kB / 0.7575 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.9376, allocations: 39.62 kB / 0.7575 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/0.9385, allocations: 0.5972 MB / 0.7581 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9385, allocations: 0 / 0.7581 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.9386, allocations: 19.34 kB / 0.7581 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.9386, allocations: 12.12 kB / 0.7582 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.9394, allocations: 484.2 kB / 0.7586 GB, free: 16.59 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.002856/0.9422, allocations: 2.643 MB / 0.7612 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.9429, allocations: 324.8 kB / 0.7615 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.9432, allocations: 158.5 kB / 0.7617 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.9434, allocations: 54.61 kB / 0.7617 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.9435, allocations: 42.22 kB / 0.7618 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.9435, allocations: 0.9062 kB / 0.7618 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001685/0.9452, allocations: 0.6558 MB / 0.7624 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.9453, allocations: 133.6 kB / 0.7625 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.9458, allocations: 0.4913 MB / 0.763 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.9458, allocations: 32.86 kB / 0.763 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.946, allocations: 290.3 kB / 0.7633 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.9461, allocations: 124 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.9463, allocations: 100.7 kB / 0.7635 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9464, allocations: 364 kB / 0.7639 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.9467, allocations: 156.7 kB / 0.764 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.9471, allocations: 285.2 kB / 0.7643 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.9477, allocations: 436.7 kB / 0.7647 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9477, allocations: 5.031 kB / 0.7647 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009477/0.9486, allocations: 0.5469 MB / 0.7653 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9486, allocations: 8.562 kB / 0.7653 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9487, allocations: 2.5 kB / 0.7653 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.9501, allocations: 239 kB / 0.7655 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.9505, allocations: 108.6 kB / 0.7656 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005209/0.951, allocations: 0.6007 MB / 0.7662 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.9514, allocations: 58.06 kB / 0.7662 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.9514, allocations: 46.56 kB / 0.7663 GB, free: 12.91 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.000279/0.9517, allocations: 183.5 kB / 0.7665 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.9518, allocations: 55.17 kB / 0.7665 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.9535, allocations: 1.09 MB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.9535, allocations: 2.75 kB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.9535, allocations: 6.125 kB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9535, allocations: 3.766 kB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.9549, allocations: 0.9976 MB / 0.7686 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9549, allocations: 2.594 kB / 0.7686 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.9551, allocations: 55.69 kB / 0.7686 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.9581, allocations: 442.1 kB / 0.769 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.9581, allocations: 10.19 kB / 0.769 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005093/0.9587, allocations: 0.6106 MB / 0.7696 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9587, allocations: 10.3 kB / 0.7697 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.9597, allocations: 0.512 MB / 0.7702 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.9599, allocations: 64.59 kB / 0.7702 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.96, allocations: 9.156 kB / 0.7702 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.9603, allocations: 26.25 kB / 0.7702 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.9604, allocations: 20.91 kB / 0.7703 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.9605, allocations: 23.52 kB / 0.7703 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004778/0.9609, allocations: 420.6 kB / 0.7707 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9609, allocations: 2.266 kB / 0.7707 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008275/0.9618, allocations: 290.6 kB / 0.771 GB, free: 11.35 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.001705/0.9635, allocations: 1.318 MB / 0.7723 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007926/0.9643, allocations: 373.3 kB / 0.7726 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9643, allocations: 0 / 0.7726 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.9646, allocations: 158.6 kB / 0.7728 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9661, allocations: 349.6 kB / 0.7731 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.9727, allocations: 4.94 MB / 0.7779 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.9732, allocations: 0.8571 MB / 0.7788 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009978/0.9742, allocations: 0.5633 MB / 0.7793 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.9745, allocations: 230.5 kB / 0.7795 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.9745, allocations: 0.9688 kB / 0.7795 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05671/1.031, allocations: 21.93 MB / 0.8009 GB, free: 200 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.17, allocations: 9.203 kB / 0.801 GB, free: 192 kB / 0.5762 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: 17.16642801417038] 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'] 14.276247891131788 14.300844203 13.362087609 Calling exit ...