Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2929/0.2929, allocations: 46.93 MB / 361.6 MB, free: 4.227 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 84.09 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 66.07 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.61/0.9362, allocations: 184.9 MB / 0.7421 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006264/0.9425, allocations: 4.639 MB / 0.7466 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.9433, allocations: 24.34 kB / 0.7467 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.9442, allocations: 348.8 kB / 0.747 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.9487, allocations: 1.833 MB / 0.7488 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.9509, allocations: 0.973 MB / 0.7497 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.9529, allocations: 1.736 MB / 0.7514 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.9534, allocations: 381 kB / 0.7518 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.9549, allocations: 0.8701 MB / 0.7526 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.9555, allocations: 0.5213 MB / 0.7531 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.9556, allocations: 53.16 kB / 0.7532 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.9581, allocations: 1.343 MB / 0.7545 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.9582, allocations: 183.2 kB / 0.7547 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.9586, allocations: 374.2 kB / 0.755 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.9608, allocations: 1.64 MB / 0.7566 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9608, allocations: 0 / 0.7566 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9608, allocations: 0.9062 kB / 0.7566 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9608, allocations: 0 / 0.7566 GB, free: 1.539 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001939/0.9628, allocations: 1.064 MB / 0.7577 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9628, allocations: 11.25 kB / 0.7577 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.9629, allocations: 84.52 kB / 0.7578 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.9641, allocations: 172.1 kB / 0.7579 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.9649, allocations: 450.6 kB / 0.7584 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.9649, allocations: 37.78 kB / 0.7584 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.965, allocations: 41.91 kB / 0.7584 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.966, allocations: 0.643 MB / 0.7591 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.966, allocations: 4.312 kB / 0.7591 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.9661, allocations: 22.81 kB / 0.7591 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.9661, allocations: 11.72 kB / 0.7591 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.9668, allocations: 0.4908 MB / 0.7596 GB, free: 16.55 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.003284/0.9701, allocations: 2.619 MB / 0.7621 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.9708, allocations: 301.2 kB / 0.7624 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.971, allocations: 148.7 kB / 0.7626 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.9713, allocations: 53.59 kB / 0.7626 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.9714, allocations: 40.3 kB / 0.7627 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.434e-06/0.9714, allocations: 0 / 0.7627 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001599/0.973, allocations: 0.6324 MB / 0.7633 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.9731, allocations: 163 kB / 0.7634 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.9737, allocations: 0.5188 MB / 0.7639 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.9738, allocations: 31.67 kB / 0.764 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.974, allocations: 313.4 kB / 0.7643 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.9741, allocations: 130.7 kB / 0.7644 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.9742, allocations: 118.6 kB / 0.7645 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.9744, allocations: 366.9 kB / 0.7649 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.9747, allocations: 144.5 kB / 0.765 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.975, allocations: 320.5 kB / 0.7653 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.9757, allocations: 480 kB / 0.7658 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.9757, allocations: 3.938 kB / 0.7658 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009433/0.9766, allocations: 0.5744 MB / 0.7663 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9767, allocations: 5 kB / 0.7663 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9767, allocations: 6.156 kB / 0.7663 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.9782, allocations: 239.2 kB / 0.7666 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.9786, allocations: 115.5 kB / 0.7667 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006776/0.9793, allocations: 0.5943 MB / 0.7673 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.9797, allocations: 71.2 kB / 0.7673 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.9798, allocations: 52.58 kB / 0.7674 GB, free: 12.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0003823/0.9802, allocations: 188.8 kB / 0.7676 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.9803, allocations: 60.2 kB / 0.7676 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.9822, allocations: 1.102 MB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.9822, allocations: 3.156 kB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.9822, allocations: 4.906 kB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9822, allocations: 6.094 kB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9837, allocations: 0.9798 MB / 0.7697 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.9837, allocations: 3.312 kB / 0.7697 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.9839, allocations: 50.81 kB / 0.7697 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.9869, allocations: 440.8 kB / 0.7701 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.9869, allocations: 16.14 kB / 0.7701 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005252/0.9875, allocations: 0.597 MB / 0.7707 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9875, allocations: 1.906 kB / 0.7707 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.9883, allocations: 0.5103 MB / 0.7712 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.9885, allocations: 67.42 kB / 0.7713 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9886, allocations: 7.281 kB / 0.7713 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.9889, allocations: 15.17 kB / 0.7713 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.9889, allocations: 37.12 kB / 0.7714 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.989, allocations: 20.58 kB / 0.7714 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005182/0.9895, allocations: 450.5 kB / 0.7718 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9895, allocations: 1.062 kB / 0.7718 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009405/0.9904, allocations: 296.4 kB / 0.7721 GB, free: 11.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001673/0.9921, allocations: 1.32 MB / 0.7734 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.9929, allocations: 354.7 kB / 0.7737 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9929, allocations: 0 / 0.7737 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.9932, allocations: 149.1 kB / 0.7739 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.9948, allocations: 398.6 kB / 0.7742 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/1.001, allocations: 5.051 MB / 0.7792 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/1.002, allocations: 0.868 MB / 0.78 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001123/1.003, allocations: 0.5714 MB / 0.7806 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.003, allocations: 242.2 kB / 0.7808 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.003, allocations: 0 / 0.7808 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/1.061, allocations: 23.47 MB / 0.8037 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.67, allocations: 3.938 kB / 0.8037 GB, free: 13.61 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.61121814791113] Failed to read output from testmodel.py, exit status != 0: ['time', 'input_mflow.y', 'input_p.y', 'IN_p.ports[1].m_flow', 'IN_p.ports[1].p', 'IN_p.ports[1].h_outflow', 'OUT_dp.ports[1].m_flow', 'OUT_dp.ports[1].p', 'OUT_dp.ports[1].h_outflow', 'OUT_mflow.ports[1].m_flow', 'OUT_mflow.ports[1].p', 'OUT_mflow.ports[1].h_outflow', 'IN_mflow.ports[1].m_flow', 'IN_mflow.ports[1].p', 'IN_mflow.ports[1].h_outflow', 'from_dp.port_b.m_flow', 'from_dp.port_b.p', 'from_dp.port_b.h_outflow', 'from_mflow.port_b.m_flow', 'from_mflow.port_b.p', 'from_mflow.port_b.h_outflow'] 13.779651628807187 13.801198257 12.836204643 Calling exit ...