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.001803/0.001803, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002209/0.002209, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2307/0.2307, allocations: 46.96 MB / 361.7 MB, free: 4.039 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.002001/0.002001, allocations: 63.91 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 66.03 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2155/0.54, allocations: 161.6 MB / 0.7192 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.5459, allocations: 3.032 MB / 0.7221 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.5467, allocations: 23.81 kB / 0.7221 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5478, allocations: 309.9 kB / 0.7224 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.5523, allocations: 1.43 MB / 0.7238 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5545, allocations: 0.7475 MB / 0.7246 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002639/0.5571, allocations: 1.578 MB / 0.7261 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.5578, allocations: 367.8 kB / 0.7265 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.5591, allocations: 0.6073 MB / 0.7271 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.5598, allocations: 490 kB / 0.7275 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.5599, allocations: 52 kB / 0.7276 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.5623, allocations: 0.9361 MB / 0.7285 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.5626, allocations: 167.3 kB / 0.7286 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.563, allocations: 294.8 kB / 0.7289 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.5655, allocations: 1.452 MB / 0.7303 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5655, allocations: 0 / 0.7303 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5655, allocations: 0 / 0.7303 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5655, allocations: 4 kB / 0.7303 GB, free: 6.559 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.002173/0.5677, allocations: 0.9983 MB / 0.7313 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5677, allocations: 11.97 kB / 0.7313 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.217e-05/0.5678, allocations: 13 kB / 0.7313 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.5679, allocations: 86.52 kB / 0.7314 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.569, allocations: 139.5 kB / 0.7316 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.57, allocations: 441.5 kB / 0.732 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.57, allocations: 33 kB / 0.732 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.5701, allocations: 44 kB / 0.7321 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.5716, allocations: 0.8918 MB / 0.7329 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5716, allocations: 0 / 0.7329 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.5717, allocations: 23.98 kB / 0.733 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.5717, allocations: 12 kB / 0.733 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5727, allocations: 483.6 kB / 0.7334 GB, free: 3.227 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.003294/0.576, allocations: 1.97 MB / 0.7353 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.5768, allocations: 331.4 kB / 0.7357 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.5772, allocations: 161.4 kB / 0.7358 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.5774, allocations: 48.25 kB / 0.7359 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.5775, allocations: 42.72 kB / 0.7359 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.428e-06/0.5775, allocations: 3.984 kB / 0.7359 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.283/0.8604, allocations: 0.6574 MB / 0.7365 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.8605, allocations: 133.5 kB / 0.7367 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.8614, allocations: 497.2 kB / 0.7372 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/0.8614, allocations: 34.42 kB / 0.7372 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.8617, allocations: 285.2 kB / 0.7375 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.8618, allocations: 123.5 kB / 0.7376 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.862, allocations: 104.1 kB / 0.7377 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8622, allocations: 362.6 kB / 0.738 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.8626, allocations: 151.8 kB / 0.7382 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.8631, allocations: 365.1 kB / 0.7385 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.8639, allocations: 441.2 kB / 0.7389 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8639, allocations: 0 / 0.7389 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001222/0.8651, allocations: 0.5441 MB / 0.7395 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8651, allocations: 9.562 kB / 0.7395 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.8651, allocations: 5.094 kB / 0.7395 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.8668, allocations: 252.5 kB / 0.7397 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.8672, allocations: 102.4 kB / 0.7398 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003766/0.8676, allocations: 0.5995 MB / 0.7404 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.8679, allocations: 47.53 kB / 0.7404 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.868, allocations: 46.06 kB / 0.7405 GB, free: 174.3 MB / 0.5606 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.0002488/0.8683, allocations: 184.6 kB / 0.7407 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.8684, allocations: 62.84 kB / 0.7407 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.8702, allocations: 1.094 MB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8702, allocations: 4.75 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8702, allocations: 0 / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8702, allocations: 0 / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.8714, allocations: 0.9385 MB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8714, allocations: 3.625 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.8716, allocations: 55 kB / 0.7428 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/0.8748, allocations: 445.4 kB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.8748, allocations: 11.94 kB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003363/0.8752, allocations: 0.6138 MB / 0.7438 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8752, allocations: 0 / 0.7438 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.8759, allocations: 0.512 MB / 0.7443 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.876, allocations: 69.14 kB / 0.7444 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8761, allocations: 13.95 kB / 0.7444 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.8765, allocations: 15.98 kB / 0.7444 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.8765, allocations: 33.84 kB / 0.7444 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.8766, allocations: 19.98 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004115/0.877, allocations: 418.8 kB / 0.7449 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.877, allocations: 0 / 0.7449 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008162/0.8778, allocations: 290.2 kB / 0.7451 GB, free: 170.9 MB / 0.5606 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.001503/0.8793, allocations: 1.318 MB / 0.7464 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008233/0.8801, allocations: 367.7 kB / 0.7468 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8801, allocations: 0 / 0.7468 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.8804, allocations: 158.6 kB / 0.7469 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.882, allocations: 367.3 kB / 0.7473 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.8876, allocations: 4.933 MB / 0.7521 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.8878, allocations: 263.4 kB / 0.7523 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009774/0.8888, allocations: 0.558 MB / 0.7529 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.8891, allocations: 231.3 kB / 0.7531 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.8891, allocations: 0 / 0.7531 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.934, allocations: 23.04 MB / 0.7756 GB, free: 140 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.47, allocations: 8.047 kB / 0.7756 GB, free: 140 MB / 0.5606 GB " [Timeout remaining time 644] (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.621093163033947] 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.657962160999887 15.677077654 15.107648132 Calling exit ...