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.001865/0.001865, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002528/0.002528, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2268/0.2268, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.002235/0.002235, allocations: 76.91 kB / 0.4912 GB, free: 26.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 65.98 MB / 0.5556 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4624/0.5848, allocations: 154.4 MB / 0.7064 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.5868, allocations: 1.461 MB / 0.7078 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.5868, allocations: 0 / 0.7078 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.5871, allocations: 51.78 kB / 0.7078 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.5897, allocations: 1.076 MB / 0.7089 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.5897, allocations: 4 kB / 0.7089 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.5898, allocations: 70.83 kB / 0.709 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.5899, allocations: 7.984 kB / 0.709 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.5899, allocations: 23.86 kB / 0.709 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.59, allocations: 35.89 kB / 0.709 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.59, allocations: 0 / 0.709 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5929, allocations: 1.922 MB / 0.7109 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.593, allocations: 19.86 kB / 0.7109 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.593, allocations: 11.94 kB / 0.7109 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5944, allocations: 0.9352 MB / 0.7118 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5944, allocations: 0 / 0.7118 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5944, allocations: 0 / 0.7118 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.5944, allocations: 4 kB / 0.7119 GB, free: 14.28 MB / 0.5137 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.0007832/0.5952, allocations: 0.5016 MB / 0.7123 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5952, allocations: 12.02 kB / 0.7124 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.5953, allocations: 42.69 kB / 0.7124 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.5953, allocations: 4.891 kB / 0.7124 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.5954, allocations: 171.7 kB / 0.7126 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5954, allocations: 7.984 kB / 0.7126 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5955, allocations: 4 kB / 0.7126 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.5956, allocations: 85.66 kB / 0.7127 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5956, allocations: 0 / 0.7127 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.5956, allocations: 0 / 0.7127 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.5957, allocations: 4 kB / 0.7127 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.5958, allocations: 67.95 kB / 0.7127 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.5963, allocations: 320.6 kB / 0.713 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.5964, allocations: 46.55 kB / 0.7131 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.5964, allocations: 8.859 kB / 0.7131 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.5967, allocations: 259.4 kB / 0.7133 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5967, allocations: 34.5 kB / 0.7134 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.5967, allocations: 0 / 0.7134 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0002131/0.5969, allocations: 81.55 kB / 0.7134 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5969, allocations: 51.41 kB / 0.7135 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.597, allocations: 109.6 kB / 0.7136 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.597, allocations: 25.7 kB / 0.7136 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.5971, allocations: 92.03 kB / 0.7137 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.5971, allocations: 19.84 kB / 0.7137 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.5972, allocations: 29.77 kB / 0.7138 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5973, allocations: 314.8 kB / 0.7141 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.5973, allocations: 15.98 kB / 0.7141 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.5974, allocations: 43.41 kB / 0.7141 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.5975, allocations: 51.38 kB / 0.7142 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5975, allocations: 0 / 0.7142 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.5976, allocations: 85.55 kB / 0.7142 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5976, allocations: 16.03 kB / 0.7143 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5976, allocations: 0 / 0.7143 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5976, allocations: 0 / 0.7143 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.5977, allocations: 15.98 kB / 0.7143 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5977, allocations: 0 / 0.7143 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.5977, allocations: 4 kB / 0.7143 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5978, allocations: 4 kB / 0.7143 GB, free: 11.49 MB / 0.5137 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.53e-05/0.5978, allocations: 113.8 kB / 0.7144 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.5979, allocations: 11.83 kB / 0.7144 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.598, allocations: 81.17 kB / 0.7145 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.598, allocations: 0 / 0.7145 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.598, allocations: 0.875 kB / 0.7145 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5981, allocations: 0 / 0.7145 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.5983, allocations: 169.7 kB / 0.7146 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5983, allocations: 0 / 0.7146 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.5983, allocations: 8 kB / 0.7146 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5983, allocations: 7.938 kB / 0.7147 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5983, allocations: 1.562 kB / 0.7147 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5983, allocations: 3.984 kB / 0.7147 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5983, allocations: 0.75 kB / 0.7147 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.5984, allocations: 159.4 kB / 0.7148 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.5985, allocations: 81.05 kB / 0.7149 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5985, allocations: 0 / 0.7149 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.5986, allocations: 8 kB / 0.7149 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5986, allocations: 7.984 kB / 0.7149 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5986, allocations: 7.188 kB / 0.7149 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.5987, allocations: 79.28 kB / 0.715 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5987, allocations: 3.938 kB / 0.715 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000493/0.5992, allocations: 159.5 kB / 0.7151 GB, free: 10.51 MB / 0.5137 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.00116/0.6003, allocations: 0.932 MB / 0.7161 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.6005, allocations: 35.92 kB / 0.7161 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6005, allocations: 0 / 0.7161 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.6005, allocations: 15.98 kB / 0.7161 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.6008, allocations: 19.95 kB / 0.7161 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.6014, allocations: 263.2 kB / 0.7164 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.6017, allocations: 0.6884 MB / 0.717 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.6018, allocations: 21.48 kB / 0.7171 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.6019, allocations: 15.44 kB / 0.7171 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.6019, allocations: 0 / 0.7171 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.6297, allocations: 5.027 MB / 0.722 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.539, allocations: 2.109 kB / 0.722 GB, free: 3.508 MB / 0.5137 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.42653128132224] Failed to read output from testmodel.py, exit status != 0: ['time', 'p', 's', 'u', 'Tsat'] 8.611398488748819 8.636728818 8.037781289 Calling exit ...