Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001442/0.001442, allocations: 113 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.001711/0.001711, allocations: 217.4 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2605/0.2605, allocations: 44.91 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00193/0.00193, allocations: 75.89 kB / 0.4886 GB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1206, allocations: 65.43 MB / 0.5525 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4985/0.6192, allocations: 186.6 MB / 0.7347 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.6248, allocations: 3.276 MB / 0.7379 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.6254, allocations: 19.81 kB / 0.7379 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.6263, allocations: 325.8 kB / 0.7382 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.6299, allocations: 1.418 MB / 0.7396 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.6318, allocations: 0.728 MB / 0.7403 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.634, allocations: 1.559 MB / 0.7418 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.6347, allocations: 387.8 kB / 0.7422 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.6356, allocations: 0.5995 MB / 0.7428 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.6363, allocations: 486 kB / 0.7432 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.6363, allocations: 55.94 kB / 0.7433 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.6388, allocations: 1.213 MB / 0.7445 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.639, allocations: 163.4 kB / 0.7446 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.6394, allocations: 350.4 kB / 0.745 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.6418, allocations: 1.511 MB / 0.7465 GB, free: 424 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6418, allocations: 0 / 0.7465 GB, free: 424 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6418, allocations: 0 / 0.7465 GB, free: 424 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.6418, allocations: 0 / 0.7465 GB, free: 424 kB / 0.545 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.002088/0.6439, allocations: 1.078 MB / 0.7475 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6439, allocations: 12.03 kB / 0.7475 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.6439, allocations: 9 kB / 0.7475 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.6441, allocations: 86.52 kB / 0.7476 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.6451, allocations: 139.5 kB / 0.7477 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.646, allocations: 0.5007 MB / 0.7482 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.6461, allocations: 32.75 kB / 0.7483 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.6461, allocations: 36 kB / 0.7483 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6474, allocations: 0.5945 MB / 0.7489 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6474, allocations: 0 / 0.7489 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.6475, allocations: 24 kB / 0.7489 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6475, allocations: 12 kB / 0.7489 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.6485, allocations: 483.5 kB / 0.7494 GB, free: 13.29 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.003221/0.6517, allocations: 2.667 MB / 0.752 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.6525, allocations: 329 kB / 0.7523 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.6528, allocations: 161.3 kB / 0.7524 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.6533, allocations: 437.9 kB / 0.7529 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6533, allocations: 46.77 kB / 0.7529 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.268e-06/0.6533, allocations: 7.938 kB / 0.7529 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0019/0.6552, allocations: 0.7229 MB / 0.7536 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.6553, allocations: 132.5 kB / 0.7537 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.656, allocations: 0.4942 MB / 0.7542 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.656, allocations: 33.7 kB / 0.7543 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.6563, allocations: 280.2 kB / 0.7545 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.6564, allocations: 126.9 kB / 0.7546 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.6566, allocations: 102.1 kB / 0.7547 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.6568, allocations: 362.8 kB / 0.7551 GB, free: 7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.6571, allocations: 144.8 kB / 0.7552 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.6576, allocations: 287.7 kB / 0.7555 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/0.6584, allocations: 437.7 kB / 0.7559 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6584, allocations: 4 kB / 0.7559 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001172/0.6596, allocations: 0.5492 MB / 0.7565 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6596, allocations: 12.38 kB / 0.7565 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6596, allocations: 8 kB / 0.7565 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.6613, allocations: 240.5 kB / 0.7567 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.6617, allocations: 99.89 kB / 0.7568 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/0.6622, allocations: 0.5992 MB / 0.7574 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.6626, allocations: 51.72 kB / 0.7574 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/0.6627, allocations: 51.92 kB / 0.7575 GB, free: 4.406 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.0002962/0.663, allocations: 192.4 kB / 0.7577 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6631, allocations: 59.61 kB / 0.7577 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.6657, allocations: 1.078 MB / 0.7588 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6657, allocations: 4 kB / 0.7588 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6657, allocations: 4 kB / 0.7588 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6657, allocations: 7.922 kB / 0.7588 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.6674, allocations: 1.025 MB / 0.7598 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.6674, allocations: 12.09 kB / 0.7598 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.6676, allocations: 51.97 kB / 0.7599 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/0.671, allocations: 444.1 kB / 0.7603 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.6711, allocations: 12 kB / 0.7603 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.6716, allocations: 0.5992 MB / 0.7609 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6716, allocations: 4.031 kB / 0.7609 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6726, allocations: 0.524 MB / 0.7614 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.6728, allocations: 136.7 kB / 0.7615 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.673, allocations: 15.92 kB / 0.7615 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.6733, allocations: 19.98 kB / 0.7616 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.6734, allocations: 27.91 kB / 0.7616 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.6734, allocations: 12 kB / 0.7616 GB, free: 20 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006333/0.6741, allocations: 426.8 kB / 0.762 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6741, allocations: 0 / 0.762 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009545/0.675, allocations: 291.3 kB / 0.7623 GB, free: 15.32 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.002022/0.677, allocations: 1.329 MB / 0.7636 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009755/0.678, allocations: 363.5 kB / 0.7639 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.678, allocations: 0 / 0.7639 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.6784, allocations: 165.9 kB / 0.7641 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.6802, allocations: 361.6 kB / 0.7644 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.6876, allocations: 4.921 MB / 0.7692 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.6881, allocations: 0.8595 MB / 0.7701 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0011/0.6892, allocations: 0.5627 MB / 0.7706 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.6896, allocations: 223.3 kB / 0.7708 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6896, allocations: 0 / 0.7708 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.7388, allocations: 21.77 MB / 0.7921 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.03, allocations: 6.812 kB / 0.7921 GB, free: 0.7891 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.30617501202505] 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.193948693980929 14.210266168 13.565409608 Calling exit ...