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.001251/0.001251, allocations: 109 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.001396/0.001396, allocations: 213.9 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.226/0.226, allocations: 46.92 MB / 361.6 MB, free: 4.273 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.002244/0.002244, allocations: 83.86 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3076, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.182/0.4896, allocations: 154.4 MB / 0.7123 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.4916, allocations: 1.476 MB / 0.7137 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.4916, allocations: 0 / 0.7137 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.492, allocations: 47.73 kB / 0.7138 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.4949, allocations: 1.099 MB / 0.7148 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.909e-06/0.4949, allocations: 0 / 0.7148 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.4951, allocations: 63.66 kB / 0.7149 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.4951, allocations: 11.98 kB / 0.7149 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.4952, allocations: 23.86 kB / 0.7149 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.4953, allocations: 31.91 kB / 0.715 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.4953, allocations: 4 kB / 0.715 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4986, allocations: 1.942 MB / 0.7169 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.4986, allocations: 19.86 kB / 0.7169 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.4987, allocations: 15.94 kB / 0.7169 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.5001, allocations: 0.9351 MB / 0.7178 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5001, allocations: 0 / 0.7178 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5001, allocations: 4 kB / 0.7178 GB, free: 3.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5001, allocations: 4 kB / 0.7178 GB, free: 3.609 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.0007332/0.5009, allocations: 440.5 kB / 0.7182 GB, free: 3.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5009, allocations: 8.031 kB / 0.7182 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.501, allocations: 42.73 kB / 0.7183 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.501, allocations: 4.891 kB / 0.7183 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5011, allocations: 117.4 kB / 0.7184 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.5011, allocations: 0 / 0.7184 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.5011, allocations: 8 kB / 0.7184 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.5013, allocations: 81.67 kB / 0.7185 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5013, allocations: 0 / 0.7185 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5013, allocations: 4 kB / 0.7185 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.5013, allocations: 7.984 kB / 0.7185 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5014, allocations: 67.95 kB / 0.7186 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.5019, allocations: 295.7 kB / 0.7188 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.502, allocations: 30.58 kB / 0.7189 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.502, allocations: 24.97 kB / 0.7189 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.5021, allocations: 27.92 kB / 0.7189 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5022, allocations: 34.56 kB / 0.719 GB, free: 2.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5022, allocations: 0 / 0.719 GB, free: 2.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002106/0.5024, allocations: 73.61 kB / 0.719 GB, free: 2.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5024, allocations: 51.52 kB / 0.7191 GB, free: 2.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.5025, allocations: 109.8 kB / 0.7192 GB, free: 2.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5025, allocations: 29.7 kB / 0.7192 GB, free: 2.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.5026, allocations: 100 kB / 0.7193 GB, free: 1.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.5026, allocations: 11.84 kB / 0.7193 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.5027, allocations: 29.66 kB / 0.7193 GB, free: 1.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5028, allocations: 314.8 kB / 0.7196 GB, free: 1.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.5028, allocations: 12.48 kB / 0.7197 GB, free: 1.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.5029, allocations: 39.42 kB / 0.7197 GB, free: 1.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.503, allocations: 59.38 kB / 0.7198 GB, free: 1.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.503, allocations: 0 / 0.7198 GB, free: 1.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001327/0.5031, allocations: 85.48 kB / 0.7198 GB, free: 1.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5031, allocations: 8 kB / 0.7198 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5031, allocations: 0 / 0.7198 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5031, allocations: 4.094 kB / 0.7198 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.5032, allocations: 15.98 kB / 0.7199 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5032, allocations: 160 / 0.7199 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.5033, allocations: 8 kB / 0.7199 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5033, allocations: 4 kB / 0.7199 GB, free: 1.285 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.586e-05/0.5034, allocations: 113.8 kB / 0.72 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.5034, allocations: 15.83 kB / 0.72 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.5036, allocations: 81.34 kB / 0.7201 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.5036, allocations: 0 / 0.7201 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5036, allocations: 7.984 kB / 0.7201 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5036, allocations: 0 / 0.7201 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.5038, allocations: 136.7 kB / 0.7202 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5038, allocations: 3.938 kB / 0.7202 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.5038, allocations: 8 kB / 0.7202 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5038, allocations: 0 / 0.7202 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.5038, allocations: 3.984 kB / 0.7202 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5038, allocations: 8 kB / 0.7202 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5038, allocations: 0 / 0.7202 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.504, allocations: 163.6 kB / 0.7204 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.504, allocations: 7.938 kB / 0.7204 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.504, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.504, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5041, allocations: 11.91 kB / 0.7204 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.5041, allocations: 4 kB / 0.7204 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.5041, allocations: 87.28 kB / 0.7205 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5041, allocations: 0 / 0.7205 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004784/0.5046, allocations: 151.5 kB / 0.7206 GB, free: 432 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.001089/0.5057, allocations: 0.9148 MB / 0.7215 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.5058, allocations: 47.91 kB / 0.7216 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5058, allocations: 0 / 0.7216 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.5059, allocations: 8 kB / 0.7216 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.5061, allocations: 15.98 kB / 0.7216 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.5068, allocations: 262 kB / 0.7219 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.5071, allocations: 0.6923 MB / 0.7225 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.478e-05/0.5072, allocations: 23.91 kB / 0.7226 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.5072, allocations: 15.44 kB / 0.7226 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5072, allocations: 0 / 0.7226 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.5346, allocations: 5.012 MB / 0.7275 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.518, allocations: 3.375 kB / 0.7275 GB, free: 9.406 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.574635173659772] Failed to read output from testmodel.py, exit status != 0: ['time', 'p', 's', 'u', 'Tsat'] 8.591048253700137 8.870914015 8.366683211 Calling exit ...