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.001842/0.001842, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002194/0.002194, allocations: 219 kB / 21.46 MB, free: 1.586 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2284/0.2284, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.4916 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1412, allocations: 66 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4903/0.6315, allocations: 186.6 MB / 0.7383 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008518/0.6401, allocations: 3.26 MB / 0.7415 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.641, allocations: 23.75 kB / 0.7415 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.6426, allocations: 325.8 kB / 0.7418 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.6488, allocations: 1.424 MB / 0.7432 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.6518, allocations: 0.7292 MB / 0.7439 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.6551, allocations: 1.555 MB / 0.7455 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009949/0.6561, allocations: 383.8 kB / 0.7458 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.6579, allocations: 0.6033 MB / 0.7464 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009824/0.6589, allocations: 486 kB / 0.7469 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.659, allocations: 52 kB / 0.7469 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.6626, allocations: 1.217 MB / 0.7481 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.6629, allocations: 163.4 kB / 0.7483 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.6635, allocations: 354.4 kB / 0.7486 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.6671, allocations: 1.503 MB / 0.7501 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6671, allocations: 0 / 0.7501 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6671, allocations: 4 kB / 0.7501 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.6671, allocations: 0 / 0.7501 GB, free: 10.61 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.002869/0.67, allocations: 1.078 MB / 0.7511 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6701, allocations: 8.031 kB / 0.7511 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.029e-05/0.6701, allocations: 13 kB / 0.7511 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.6703, allocations: 78.53 kB / 0.7512 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.6719, allocations: 143.5 kB / 0.7514 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6732, allocations: 0.4968 MB / 0.7518 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.6732, allocations: 32.94 kB / 0.7519 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6733, allocations: 47.98 kB / 0.7519 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6751, allocations: 0.5945 MB / 0.7525 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6751, allocations: 0 / 0.7525 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.6752, allocations: 16 kB / 0.7525 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.6752, allocations: 16 kB / 0.7525 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.6767, allocations: 487.5 kB / 0.753 GB, free: 7.477 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.004738/0.6814, allocations: 2.671 MB / 0.7556 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6827, allocations: 333.2 kB / 0.7559 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.6832, allocations: 153.3 kB / 0.7561 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.6838, allocations: 437.8 kB / 0.7565 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.6839, allocations: 38.84 kB / 0.7565 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.6839, allocations: 0 / 0.7565 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00256/0.6864, allocations: 0.7462 MB / 0.7573 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6865, allocations: 132.5 kB / 0.7574 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.6872, allocations: 494 kB / 0.7579 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.6873, allocations: 33.7 kB / 0.7579 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.6875, allocations: 292.2 kB / 0.7582 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.6877, allocations: 119 kB / 0.7583 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.6879, allocations: 102.1 kB / 0.7584 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6881, allocations: 358.8 kB / 0.7587 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.6884, allocations: 152.8 kB / 0.7589 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.6889, allocations: 279.7 kB / 0.7591 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.6898, allocations: 441.6 kB / 0.7595 GB, free: 244 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.6898, allocations: 4 kB / 0.7596 GB, free: 240 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001241/0.6911, allocations: 0.5484 MB / 0.7601 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6911, allocations: 4 kB / 0.7601 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6911, allocations: 4.438 kB / 0.7601 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.6928, allocations: 244.5 kB / 0.7603 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.6933, allocations: 107.8 kB / 0.7604 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/0.6939, allocations: 0.5914 MB / 0.761 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.6943, allocations: 51.61 kB / 0.7611 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.6944, allocations: 47.98 kB / 0.7611 GB, free: 14.6 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.0003412/0.6948, allocations: 191.8 kB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.6949, allocations: 55.67 kB / 0.7613 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.6971, allocations: 1.089 MB / 0.7624 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6971, allocations: 8.562 kB / 0.7624 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6971, allocations: 0 / 0.7624 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6971, allocations: 3.938 kB / 0.7624 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.6988, allocations: 1.025 MB / 0.7634 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6988, allocations: 9.062 kB / 0.7634 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.6991, allocations: 60 kB / 0.7635 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/0.7025, allocations: 444.2 kB / 0.7639 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.7025, allocations: 11.98 kB / 0.7639 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006073/0.7031, allocations: 0.6118 MB / 0.7645 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7031, allocations: 0 / 0.7645 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.7043, allocations: 0.5123 MB / 0.765 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.7046, allocations: 140.7 kB / 0.7651 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.7047, allocations: 15.94 kB / 0.7652 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.7051, allocations: 19.98 kB / 0.7652 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7052, allocations: 23.97 kB / 0.7652 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.7052, allocations: 23.98 kB / 0.7652 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006974/0.7059, allocations: 418.8 kB / 0.7656 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7059, allocations: 0 / 0.7656 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001074/0.707, allocations: 295.3 kB / 0.7659 GB, free: 9.512 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.002254/0.7092, allocations: 1.316 MB / 0.7672 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.7103, allocations: 363.5 kB / 0.7675 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7103, allocations: 0 / 0.7675 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.7107, allocations: 161.8 kB / 0.7677 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.7127, allocations: 367.8 kB / 0.768 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008311/0.721, allocations: 4.921 MB / 0.7729 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.7216, allocations: 0.8557 MB / 0.7737 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001324/0.7229, allocations: 0.5511 MB / 0.7742 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.7234, allocations: 235.3 kB / 0.7745 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.7234, allocations: 3.938 kB / 0.7745 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.7779, allocations: 21.77 MB / 0.7957 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.4, allocations: 4.062 kB / 0.7957 GB, free: 10.99 MB / 0.6075 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: 17.72404538001865] 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.573928223049734 14.590360479 13.919765228 Calling exit ...