Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001782/0.001782, 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.00249/0.00249, allocations: 206.1 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.614/1.614, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2556/0.2556, allocations: 46.94 MB / 361.7 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.88 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 66.04 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5949/0.9377, allocations: 186.6 MB / 0.7437 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004503/0.9422, allocations: 2.152 MB / 0.7458 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.9429, allocations: 22.25 kB / 0.7458 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009542/0.9439, allocations: 305.5 kB / 0.7461 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.9473, allocations: 1.204 MB / 0.7473 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.9491, allocations: 0.6875 MB / 0.7479 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.951, allocations: 1.504 MB / 0.7494 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.9515, allocations: 348.4 kB / 0.7497 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.9526, allocations: 0.5939 MB / 0.7503 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.9532, allocations: 462.1 kB / 0.7508 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.9533, allocations: 48.41 kB / 0.7508 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.9552, allocations: 0.8157 MB / 0.7516 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.9554, allocations: 157.4 kB / 0.7518 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.9558, allocations: 325.9 kB / 0.7521 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.9577, allocations: 1.216 MB / 0.7533 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.9577, allocations: 2.062 kB / 0.7533 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9577, allocations: 0 / 0.7533 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.9577, allocations: 0 / 0.7533 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002093/0.9598, allocations: 0.9354 MB / 0.7542 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.9599, allocations: 10.09 kB / 0.7542 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.972e-05/0.9599, allocations: 14.62 kB / 0.7542 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.96, allocations: 86.66 kB / 0.7543 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/0.961, allocations: 133.6 kB / 0.7544 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.9618, allocations: 407.8 kB / 0.7548 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.9619, allocations: 27 kB / 0.7548 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.9619, allocations: 45.52 kB / 0.7549 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.9629, allocations: 0.5476 MB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.9629, allocations: 1.031 kB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.963, allocations: 19.41 kB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.963, allocations: 11.06 kB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.9638, allocations: 415.2 kB / 0.7558 GB, free: 16.7 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.003113/0.9669, allocations: 2.526 MB / 0.7583 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.9675, allocations: 279.3 kB / 0.7586 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.9677, allocations: 139.2 kB / 0.7587 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.9679, allocations: 49.11 kB / 0.7587 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.968, allocations: 39.23 kB / 0.7588 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.968, allocations: 0 / 0.7588 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.00236/0.9703, allocations: 0.6273 MB / 0.7594 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.9704, allocations: 139.7 kB / 0.7595 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.9709, allocations: 448.6 kB / 0.7599 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.971, allocations: 32.33 kB / 0.76 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.9711, allocations: 270 kB / 0.7602 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.9712, allocations: 110.4 kB / 0.7603 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.9714, allocations: 106.9 kB / 0.7604 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9716, allocations: 365.3 kB / 0.7608 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.972, allocations: 142.4 kB / 0.7609 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.9724, allocations: 275.4 kB / 0.7612 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.9732, allocations: 425 kB / 0.7616 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9732, allocations: 6.469 kB / 0.7616 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001184/0.9744, allocations: 0.5249 MB / 0.7621 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9744, allocations: 7.156 kB / 0.7621 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.9744, allocations: 7.875 kB / 0.7621 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.9764, allocations: 271.9 kB / 0.7624 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.9768, allocations: 102.7 kB / 0.7625 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009517/0.9778, allocations: 0.6087 MB / 0.7631 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.9782, allocations: 47.06 kB / 0.7631 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.9783, allocations: 51.66 kB / 0.7632 GB, free: 13.04 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.9786, allocations: 176.1 kB / 0.7633 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9787, allocations: 52.11 kB / 0.7634 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.9807, allocations: 1.031 MB / 0.7644 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9807, allocations: 5.703 kB / 0.7644 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9807, allocations: 0 / 0.7644 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9807, allocations: 3.625 kB / 0.7644 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.9824, allocations: 0.9377 MB / 0.7653 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.9824, allocations: 5.266 kB / 0.7653 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.9826, allocations: 52.28 kB / 0.7654 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.9842, allocations: 260.5 kB / 0.7656 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.9843, allocations: 11.02 kB / 0.7656 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009908/0.9853, allocations: 0.6017 MB / 0.7662 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.9853, allocations: 9.469 kB / 0.7662 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.9866, allocations: 0.5076 MB / 0.7667 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.9867, allocations: 61.53 kB / 0.7668 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.9868, allocations: 9.562 kB / 0.7668 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.9872, allocations: 18.27 kB / 0.7668 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.9873, allocations: 23.78 kB / 0.7668 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.9873, allocations: 21.69 kB / 0.7669 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004493/0.9878, allocations: 386.8 kB / 0.7672 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9878, allocations: 0.9688 kB / 0.7672 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008388/0.9886, allocations: 223.6 kB / 0.7674 GB, free: 11.53 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.002203/0.9908, allocations: 1.229 MB / 0.7686 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.9922, allocations: 353.5 kB / 0.769 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9922, allocations: 2.938 kB / 0.769 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.9929, allocations: 157.6 kB / 0.7691 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.9946, allocations: 346.1 kB / 0.7695 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008311/1.003, allocations: 4.72 MB / 0.7741 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/1.003, allocations: 0.8493 MB / 0.7749 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001289/1.005, allocations: 0.544 MB / 0.7754 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.005, allocations: 219.3 kB / 0.7756 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.005, allocations: 0 / 0.7756 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/1.054, allocations: 19.78 MB / 0.795 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.16, allocations: 20.39 kB / 0.795 GB, free: 2.691 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.617267057008576] 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.345488952007145 15.367591967 14.405591109 Calling exit ...