Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.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.001523/0.001523, allocations: 106.5 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.001498/0.001498, allocations: 212 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.225/0.225, allocations: 46.93 MB / 361.6 MB, free: 4.207 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-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.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",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.003369/0.003369, allocations: 79.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3354, allocations: 66.07 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1857/0.521, allocations: 154.4 MB / 0.7123 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.5231, allocations: 1.476 MB / 0.7137 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.5232, allocations: 4 kB / 0.7137 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.5235, allocations: 47.72 kB / 0.7138 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.5264, allocations: 1.095 MB / 0.7148 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.816e-06/0.5264, allocations: 8 kB / 0.7148 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.5265, allocations: 63.64 kB / 0.7149 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.5266, allocations: 0 / 0.7149 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.5266, allocations: 35.84 kB / 0.7149 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.5267, allocations: 27.91 kB / 0.715 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.5267, allocations: 0 / 0.715 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.5301, allocations: 1.946 MB / 0.7169 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.5302, allocations: 23.86 kB / 0.7169 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.5302, allocations: 15.94 kB / 0.7169 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.5317, allocations: 0.9274 MB / 0.7178 GB, free: 3.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5317, allocations: 0 / 0.7178 GB, free: 3.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5317, allocations: 3.938 kB / 0.7178 GB, free: 3.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.5318, allocations: 0 / 0.7178 GB, free: 3.641 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006929/0.5324, allocations: 444.5 kB / 0.7182 GB, free: 3.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5325, allocations: 12.03 kB / 0.7182 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.5325, allocations: 30.75 kB / 0.7183 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.5325, allocations: 8.891 kB / 0.7183 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.5327, allocations: 117.5 kB / 0.7184 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5327, allocations: 8 kB / 0.7184 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.5327, allocations: 4 kB / 0.7184 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.5329, allocations: 81.66 kB / 0.7185 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5329, allocations: 0 / 0.7185 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5329, allocations: 4 kB / 0.7185 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.5329, allocations: 11.98 kB / 0.7185 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.533, allocations: 59.97 kB / 0.7186 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.5335, allocations: 299.6 kB / 0.7188 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.5336, allocations: 38.56 kB / 0.7189 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.5336, allocations: 16.97 kB / 0.7189 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.5338, allocations: 35.92 kB / 0.7189 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5338, allocations: 30.56 kB / 0.719 GB, free: 2.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.5338, allocations: 0 / 0.719 GB, free: 2.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002076/0.534, allocations: 65.62 kB / 0.719 GB, free: 2.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.534, allocations: 55.41 kB / 0.7191 GB, free: 2.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.5341, allocations: 105.8 kB / 0.7192 GB, free: 2.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5342, allocations: 25.81 kB / 0.7192 GB, free: 2.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.5342, allocations: 104 kB / 0.7193 GB, free: 1.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.5342, allocations: 19.84 kB / 0.7193 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.5343, allocations: 25.66 kB / 0.7193 GB, free: 1.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5344, allocations: 314.8 kB / 0.7196 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.5345, allocations: 16 kB / 0.7197 GB, free: 1.559 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.5345, allocations: 35.42 kB / 0.7197 GB, free: 1.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.5346, allocations: 55.86 kB / 0.7197 GB, free: 1.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5346, allocations: 0 / 0.7197 GB, free: 1.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000144/0.5347, allocations: 101.5 kB / 0.7198 GB, free: 1.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5347, allocations: 6.188 kB / 0.7199 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5348, allocations: 0 / 0.7199 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5348, allocations: 4 kB / 0.7199 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.5348, allocations: 8 kB / 0.7199 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5348, allocations: 4 kB / 0.7199 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.5349, allocations: 3.984 kB / 0.7199 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5349, allocations: 4 kB / 0.7199 GB, free: 1.312 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.535, allocations: 121.9 kB / 0.72 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.535, allocations: 15.83 kB / 0.72 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.5352, allocations: 73.42 kB / 0.7201 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5352, allocations: 0 / 0.7201 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5352, allocations: 0 / 0.7201 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5352, allocations: 0 / 0.7201 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.5354, allocations: 140.7 kB / 0.7202 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5354, allocations: 7.938 kB / 0.7202 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.5354, allocations: 4 kB / 0.7202 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5354, allocations: 4 kB / 0.7202 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5354, allocations: 4 kB / 0.7202 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5354, allocations: 0 / 0.7202 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5354, allocations: 0 / 0.7202 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.5356, allocations: 163.4 kB / 0.7204 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.5356, allocations: 7.922 kB / 0.7204 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.5356, allocations: 0 / 0.7204 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.5356, allocations: 4.188 kB / 0.7204 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.5357, allocations: 8 kB / 0.7204 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5357, allocations: 11.98 kB / 0.7204 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.5357, allocations: 79.28 kB / 0.7205 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5357, allocations: 3.938 kB / 0.7205 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004686/0.5362, allocations: 155.5 kB / 0.7206 GB, free: 460 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.5373, allocations: 0.9149 MB / 0.7215 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.5374, allocations: 39.91 kB / 0.7216 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5374, allocations: 0 / 0.7216 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.5374, allocations: 19.98 kB / 0.7216 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5377, allocations: 12.17 kB / 0.7216 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.5384, allocations: 257.8 kB / 0.7218 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5387, allocations: 0.6922 MB / 0.7225 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.5388, allocations: 19.92 kB / 0.7225 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.5388, allocations: 23.44 kB / 0.7226 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.5388, allocations: 0 / 0.7226 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.5638, allocations: 5.009 MB / 0.7275 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.708, allocations: 11.47 kB / 0.7275 GB, free: 9.43 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.800590482074767] Failed to read output from testmodel.py, exit status != 0: ['time', 'p', 's', 'u', 'Tsat'] 8.782675399910659 9.052714344 8.517274867 Calling exit ...