Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 46.94 MB / 361.6 MB, free: 4.281 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 59.91 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 66.04 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5903/0.934, allocations: 186.8 MB / 0.7439 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.9394, allocations: 3.285 MB / 0.7471 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000706/0.9401, allocations: 22.66 kB / 0.7471 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.941, allocations: 334.7 kB / 0.7475 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.945, allocations: 1.43 MB / 0.7489 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.9471, allocations: 0.7467 MB / 0.7496 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.9497, allocations: 1.578 MB / 0.7511 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008167/0.9505, allocations: 359.6 kB / 0.7515 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.9518, allocations: 0.6078 MB / 0.7521 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009309/0.9528, allocations: 481.2 kB / 0.7525 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.9529, allocations: 55.16 kB / 0.7526 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.9561, allocations: 1.237 MB / 0.7538 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.9565, allocations: 164 kB / 0.7539 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008798/0.9573, allocations: 345.1 kB / 0.7543 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.9613, allocations: 1.517 MB / 0.7557 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.9613, allocations: 0 / 0.7557 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9613, allocations: 1.062 kB / 0.7557 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.9614, allocations: 0 / 0.7557 GB, free: 1.605 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.003207/0.9646, allocations: 1.001 MB / 0.7567 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9646, allocations: 8.406 kB / 0.7567 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.362e-05/0.9647, allocations: 15.47 kB / 0.7567 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.9648, allocations: 86.31 kB / 0.7568 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.9659, allocations: 148.1 kB / 0.757 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.9669, allocations: 440.2 kB / 0.7574 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.967, allocations: 32.09 kB / 0.7574 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.967, allocations: 41.53 kB / 0.7575 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.9683, allocations: 0.5971 MB / 0.758 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9683, allocations: 0 / 0.758 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.9684, allocations: 21.06 kB / 0.7581 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.9684, allocations: 11.45 kB / 0.7581 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.9694, allocations: 490.4 kB / 0.7585 GB, free: 16.64 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.003964/0.9734, allocations: 2.641 MB / 0.7611 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.9742, allocations: 325.8 kB / 0.7614 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.9745, allocations: 158.6 kB / 0.7616 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.9748, allocations: 54.86 kB / 0.7616 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.9748, allocations: 38.33 kB / 0.7617 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.9748, allocations: 3.094 kB / 0.7617 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001813/0.9766, allocations: 0.6587 MB / 0.7623 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.9768, allocations: 131.3 kB / 0.7624 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/0.9774, allocations: 498.5 kB / 0.7629 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.9774, allocations: 40.98 kB / 0.763 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.9776, allocations: 282.4 kB / 0.7632 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.9778, allocations: 124.5 kB / 0.7633 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.9779, allocations: 101.1 kB / 0.7634 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9781, allocations: 368.7 kB / 0.7638 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.9784, allocations: 149.4 kB / 0.7639 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.9788, allocations: 285.4 kB / 0.7642 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.9794, allocations: 435.9 kB / 0.7646 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.9795, allocations: 0.9062 kB / 0.7646 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00107/0.9805, allocations: 0.5507 MB / 0.7652 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.9805, allocations: 8.188 kB / 0.7652 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.9806, allocations: 4.25 kB / 0.7652 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.9821, allocations: 238.1 kB / 0.7654 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.9825, allocations: 106.7 kB / 0.7655 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005773/0.9831, allocations: 0.5989 MB / 0.7661 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.9835, allocations: 54.58 kB / 0.7661 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.9836, allocations: 43.62 kB / 0.7662 GB, free: 12.97 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.0003105/0.9839, allocations: 183 kB / 0.7664 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.984, allocations: 55.83 kB / 0.7664 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.986, allocations: 1.099 MB / 0.7675 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.986, allocations: 2.906 kB / 0.7675 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.986, allocations: 0.9688 kB / 0.7675 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.986, allocations: 1.812 kB / 0.7675 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.9875, allocations: 1.009 MB / 0.7685 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.9875, allocations: 4.047 kB / 0.7685 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.9877, allocations: 52.42 kB / 0.7685 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.9907, allocations: 441.5 kB / 0.769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.9908, allocations: 10.22 kB / 0.769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005097/0.9913, allocations: 0.6147 MB / 0.7696 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9913, allocations: 4 kB / 0.7696 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.9921, allocations: 0.5094 MB / 0.7701 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.9922, allocations: 66.38 kB / 0.7701 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.9923, allocations: 13.16 kB / 0.7701 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.9927, allocations: 22.7 kB / 0.7702 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.9927, allocations: 27.72 kB / 0.7702 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.9928, allocations: 20.73 kB / 0.7702 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000526/0.9933, allocations: 420.4 kB / 0.7706 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9933, allocations: 0 / 0.7706 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009134/0.9942, allocations: 290.5 kB / 0.7709 GB, free: 11.4 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.001852/0.9961, allocations: 1.32 MB / 0.7722 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.9969, allocations: 371.5 kB / 0.7725 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9969, allocations: 0 / 0.7725 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.9972, allocations: 163.6 kB / 0.7727 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.9989, allocations: 353 kB / 0.773 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/1.006, allocations: 4.938 MB / 0.7778 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/1.006, allocations: 0.8598 MB / 0.7787 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00111/1.007, allocations: 0.5586 MB / 0.7792 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.008, allocations: 233.8 kB / 0.7795 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/1.008, allocations: 0 / 0.7795 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05385/1.062, allocations: 22 MB / 0.8009 GB, free: 292 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.13, allocations: 10.47 kB / 0.8009 GB, free: 284 kB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.454499200975988] 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'] 15.31949554302264 15.341691773 14.376517715 Calling exit ...