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.001678/0.001678, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002149/0.002149, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.477/1.477, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2679/0.2679, allocations: 46.92 MB / 361.6 MB, free: 4.215 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.002313/0.002313, allocations: 80.17 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3296, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5739/0.9035, allocations: 184.9 MB / 0.7421 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.9101, allocations: 4.643 MB / 0.7466 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/0.911, allocations: 27.34 kB / 0.7467 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009363/0.912, allocations: 343.5 kB / 0.747 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.9166, allocations: 1.832 MB / 0.7488 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.9189, allocations: 0.9743 MB / 0.7497 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.9211, allocations: 1.739 MB / 0.7514 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.9216, allocations: 381.5 kB / 0.7518 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.9232, allocations: 0.8685 MB / 0.7526 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.9239, allocations: 0.5252 MB / 0.7531 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.924, allocations: 53.72 kB / 0.7532 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.9267, allocations: 1.346 MB / 0.7545 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.9269, allocations: 175.7 kB / 0.7547 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.9274, allocations: 374.2 kB / 0.755 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.9301, allocations: 1.634 MB / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9301, allocations: 2.781 kB / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9301, allocations: 0 / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.9301, allocations: 0.8438 kB / 0.7566 GB, free: 1.531 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.001961/0.9321, allocations: 1.069 MB / 0.7577 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.9321, allocations: 10.06 kB / 0.7577 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.9322, allocations: 90.84 kB / 0.7578 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.9334, allocations: 168.2 kB / 0.7579 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.9342, allocations: 446.5 kB / 0.7584 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.9342, allocations: 40.69 kB / 0.7584 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.9343, allocations: 42.16 kB / 0.7584 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.9353, allocations: 0.6367 MB / 0.7591 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.9353, allocations: 4.375 kB / 0.7591 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.9354, allocations: 26.69 kB / 0.7591 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.9354, allocations: 10.78 kB / 0.7591 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.9362, allocations: 0.5025 MB / 0.7596 GB, free: 16.54 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.002935/0.9391, allocations: 2.616 MB / 0.7621 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.9397, allocations: 299.7 kB / 0.7624 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.9399, allocations: 148.4 kB / 0.7626 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.9402, allocations: 57.92 kB / 0.7626 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.9402, allocations: 37.53 kB / 0.7627 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.9402, allocations: 3.094 kB / 0.7627 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001451/0.9417, allocations: 0.6324 MB / 0.7633 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.9418, allocations: 159.9 kB / 0.7634 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.9423, allocations: 0.5187 MB / 0.7639 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.9423, allocations: 35.36 kB / 0.764 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.9425, allocations: 310.8 kB / 0.7643 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.9426, allocations: 131.6 kB / 0.7644 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.9427, allocations: 117.1 kB / 0.7645 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9429, allocations: 370.6 kB / 0.7649 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.9431, allocations: 140.9 kB / 0.765 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.9435, allocations: 327.2 kB / 0.7653 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.9442, allocations: 472.3 kB / 0.7658 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.9442, allocations: 7.469 kB / 0.7658 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009988/0.9452, allocations: 0.5726 MB / 0.7663 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.9452, allocations: 7.969 kB / 0.7663 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9452, allocations: 3.844 kB / 0.7663 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.9467, allocations: 239.7 kB / 0.7666 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.9471, allocations: 120 kB / 0.7667 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004826/0.9475, allocations: 0.5879 MB / 0.7673 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.9479, allocations: 67.19 kB / 0.7673 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.948, allocations: 53.48 kB / 0.7674 GB, free: 12.79 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.0002868/0.9483, allocations: 190.4 kB / 0.7676 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9484, allocations: 59.92 kB / 0.7676 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.9501, allocations: 1.101 MB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9501, allocations: 6.031 kB / 0.7687 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9501, allocations: 7.875 kB / 0.7687 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9501, allocations: 0.75 kB / 0.7687 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.9514, allocations: 0.9808 MB / 0.7697 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.9515, allocations: 1.938 kB / 0.7697 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.9516, allocations: 57.08 kB / 0.7697 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/0.9547, allocations: 442 kB / 0.7701 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.9547, allocations: 9.75 kB / 0.7701 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.9552, allocations: 0.6001 MB / 0.7707 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.9552, allocations: 5.312 kB / 0.7707 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.9559, allocations: 0.5076 MB / 0.7712 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.9561, allocations: 67.38 kB / 0.7713 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.9562, allocations: 12.66 kB / 0.7713 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.9565, allocations: 12.84 kB / 0.7713 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.9566, allocations: 30.41 kB / 0.7714 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.9566, allocations: 22.83 kB / 0.7714 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005109/0.9571, allocations: 451.5 kB / 0.7718 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9571, allocations: 0.875 kB / 0.7718 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009491/0.9581, allocations: 294.1 kB / 0.7721 GB, free: 11.18 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.001769/0.9598, allocations: 1.316 MB / 0.7734 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.9606, allocations: 356.7 kB / 0.7737 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9606, allocations: 4.312 kB / 0.7737 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.9609, allocations: 149.8 kB / 0.7739 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.9626, allocations: 397 kB / 0.7742 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.969, allocations: 5.053 MB / 0.7792 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.9696, allocations: 0.8709 MB / 0.78 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001355/0.9709, allocations: 0.5747 MB / 0.7806 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.9713, allocations: 239.4 kB / 0.7808 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/0.9713, allocations: 0 / 0.7808 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/1.033, allocations: 23.45 MB / 0.8037 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.66, allocations: 6.125 kB / 0.8037 GB, free: 13.59 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.78299231082201] 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.76825967663899 13.781594625 12.848628962 Calling exit ...