Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001289/0.001289, allocations: 122.2 kB / 17.84 MB, free: 5.203 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.001382/0.001382, allocations: 211.8 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.6 MB / 231.2 MB, free: 4.129 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3345/0.3345, allocations: 44.23 MB / 327.3 MB, free: 6.746 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.91 kB / 462.9 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.303, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5325/0.8355, allocations: 190.4 MB / 0.6976 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003876/0.8394, allocations: 2.142 MB / 0.6997 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.8402, allocations: 26.84 kB / 0.6997 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009558/0.8412, allocations: 300.6 kB / 0.7 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.8452, allocations: 1.428 MB / 0.7014 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.847, allocations: 0.683 MB / 0.7021 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.8489, allocations: 1.473 MB / 0.7035 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.8494, allocations: 367.9 kB / 0.7039 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008453/0.8503, allocations: 0.5827 MB / 0.7044 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.8507, allocations: 461.8 kB / 0.7049 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.8508, allocations: 47.09 kB / 0.7049 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.853, allocations: 1.014 MB / 0.7059 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.8532, allocations: 151.4 kB / 0.7061 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.8535, allocations: 323.9 kB / 0.7064 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.8556, allocations: 1.334 MB / 0.7077 GB, free: 440 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8556, allocations: 0 / 0.7077 GB, free: 440 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8556, allocations: 0 / 0.7077 GB, free: 440 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.8556, allocations: 1 kB / 0.7077 GB, free: 440 kB / 0.4981 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.001822/0.8574, allocations: 1.048 MB / 0.7087 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.8574, allocations: 13.33 kB / 0.7087 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.8575, allocations: 11.66 kB / 0.7087 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.8576, allocations: 86.17 kB / 0.7088 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.8586, allocations: 133.2 kB / 0.7089 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/0.8593, allocations: 474.6 kB / 0.7094 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.8594, allocations: 30.69 kB / 0.7094 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.8594, allocations: 47.56 kB / 0.7095 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.8604, allocations: 0.5447 MB / 0.71 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8605, allocations: 0 / 0.71 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.8605, allocations: 22.25 kB / 0.71 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.8605, allocations: 11.95 kB / 0.71 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.8613, allocations: 409.4 kB / 0.7104 GB, free: 15.33 MB / 0.5137 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.003315/0.8647, allocations: 2.594 MB / 0.713 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.8653, allocations: 275.6 kB / 0.7132 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.8655, allocations: 134.1 kB / 0.7133 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.8669, allocations: 1.218 MB / 0.7145 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.8669, allocations: 37.34 kB / 0.7146 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.8669, allocations: 0 / 0.7146 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29): time 0.0024/0.8693, allocations: 0.7082 MB / 0.7153 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.8694, allocations: 139.7 kB / 0.7154 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.87, allocations: 440 kB / 0.7158 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.87, allocations: 35.61 kB / 0.7158 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.8703, allocations: 278.4 kB / 0.7161 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.8704, allocations: 105.4 kB / 0.7162 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.8706, allocations: 103.6 kB / 0.7163 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.8707, allocations: 354.1 kB / 0.7166 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.8711, allocations: 143.9 kB / 0.7168 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.8716, allocations: 280.3 kB / 0.7171 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.8724, allocations: 418.7 kB / 0.7175 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8724, allocations: 1.844 kB / 0.7175 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001216/0.8737, allocations: 0.5199 MB / 0.718 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8737, allocations: 13.81 kB / 0.718 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8737, allocations: 5.031 kB / 0.718 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.8757, allocations: 269.4 kB / 0.7182 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8761, allocations: 100 kB / 0.7183 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009972/0.8771, allocations: 0.6023 MB / 0.7189 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.8776, allocations: 49.34 kB / 0.719 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.8776, allocations: 50.11 kB / 0.719 GB, free: 10.52 MB / 0.5137 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.0003221/0.878, allocations: 183.4 kB / 0.7192 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8781, allocations: 52.48 kB / 0.7192 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.8798, allocations: 0.6585 MB / 0.7199 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.8798, allocations: 3.922 kB / 0.7199 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8798, allocations: 0.9062 kB / 0.7199 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.8798, allocations: 5.391 kB / 0.7199 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.8817, allocations: 0.9856 MB / 0.7209 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8817, allocations: 0 / 0.7209 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.882, allocations: 48.88 kB / 0.7209 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.8838, allocations: 261.3 kB / 0.7212 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.8839, allocations: 13.56 kB / 0.7212 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.8849, allocations: 0.6012 MB / 0.7218 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8849, allocations: 0 / 0.7218 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.8863, allocations: 0.5101 MB / 0.7223 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.8865, allocations: 134.2 kB / 0.7224 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.8866, allocations: 16.69 kB / 0.7224 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.887, allocations: 17.28 kB / 0.7224 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.8871, allocations: 24.84 kB / 0.7224 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.8871, allocations: 18.98 kB / 0.7225 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005401/0.8877, allocations: 386.8 kB / 0.7228 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8877, allocations: 0 / 0.7228 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001039/0.8887, allocations: 266.6 kB / 0.7231 GB, free: 8.305 MB / 0.5137 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.002764/0.8915, allocations: 1.336 MB / 0.7244 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.8929, allocations: 363.4 kB / 0.7247 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8929, allocations: 2.25 kB / 0.7247 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.8937, allocations: 150.5 kB / 0.7249 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.8954, allocations: 361.5 kB / 0.7252 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009656/0.9051, allocations: 4.696 MB / 0.7298 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.9057, allocations: 0.8544 MB / 0.7306 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.9065, allocations: 195.3 kB / 0.7308 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.9069, allocations: 208.6 kB / 0.731 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/0.9069, allocations: 0 / 0.731 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05154/0.9584, allocations: 20.5 MB / 0.751 GB, free: 15.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.44, allocations: 12.88 kB / 0.7511 GB, free: 15.56 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.586692614946514] 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.610125144012272 14.636766943 13.776534756 Calling exit ...