Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.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.001815/0.001815, allocations: 110 kB / 20.42 MB, free: 1.535 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.002581/0.002581, allocations: 210.1 kB / 23.72 MB, free: 4.961 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.458/1.458, allocations: 230.2 MB / 257.1 MB, free: 8.527 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.2379/0.2379, allocations: 46.89 MB / 360.3 MB, free: 4.625 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.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",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.00223/0.00223, allocations: 79.88 kB / 0.4955 GB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3382, allocations: 65.99 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1834/0.5216, allocations: 153 MB / 0.7094 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.5245, allocations: 2.208 MB / 0.7116 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.5246, allocations: 4 kB / 0.7116 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.525, allocations: 59.66 kB / 0.7116 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.5267, allocations: 0.6376 MB / 0.7123 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.527, allocations: 103.7 kB / 0.7124 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.5274, allocations: 259 kB / 0.7126 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.5274, allocations: 7.984 kB / 0.7126 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.5277, allocations: 143.4 kB / 0.7128 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.5279, allocations: 103.6 kB / 0.7128 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.528, allocations: 8 kB / 0.7129 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.5296, allocations: 0.8845 MB / 0.7137 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.5297, allocations: 91.75 kB / 0.7138 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.5298, allocations: 95.58 kB / 0.7139 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.5308, allocations: 0.6525 MB / 0.7145 GB, free: 6.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5308, allocations: 0 / 0.7145 GB, free: 6.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5308, allocations: 4 kB / 0.7145 GB, free: 6.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5308, allocations: 0 / 0.7145 GB, free: 6.031 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008724/0.5317, allocations: 0.5142 MB / 0.715 GB, free: 5.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5317, allocations: 8.031 kB / 0.7151 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.5318, allocations: 54.73 kB / 0.7151 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.5338, allocations: 272.5 kB / 0.7154 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.5343, allocations: 283.6 kB / 0.7156 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5343, allocations: 16.31 kB / 0.7156 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.5344, allocations: 16 kB / 0.7157 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.5351, allocations: 0.4928 MB / 0.7161 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5351, allocations: 4 kB / 0.7161 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.5352, allocations: 4 kB / 0.7162 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5352, allocations: 8 kB / 0.7162 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.5361, allocations: 0.5816 MB / 0.7167 GB, free: 3.684 MB / 0.545 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.002319/0.5384, allocations: 1.012 MB / 0.7177 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.5388, allocations: 233.1 kB / 0.7179 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.5391, allocations: 189.6 kB / 0.7181 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.54, allocations: 379.2 kB / 0.7185 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.5401, allocations: 42.56 kB / 0.7185 GB, free: 1.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.5401, allocations: 0 / 0.7185 GB, free: 1.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002002/0.5421, allocations: 0.5915 MB / 0.7191 GB, free: 1.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.5421, allocations: 81.27 kB / 0.7192 GB, free: 1.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.5423, allocations: 129.8 kB / 0.7193 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.5423, allocations: 33.7 kB / 0.7193 GB, free: 0.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.5424, allocations: 120.5 kB / 0.7194 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5425, allocations: 115.1 kB / 0.7196 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.5427, allocations: 69.47 kB / 0.7196 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5428, allocations: 330.8 kB / 0.7199 GB, free: 196 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.5431, allocations: 183.9 kB / 0.7201 GB, free: 12 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.5436, allocations: 292.5 kB / 0.7204 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.5444, allocations: 492.4 kB / 0.7209 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5444, allocations: 3.938 kB / 0.7209 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009569/0.5453, allocations: 0.5207 MB / 0.7214 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5453, allocations: 8 kB / 0.7214 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5454, allocations: 4 kB / 0.7214 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5454, allocations: 4 kB / 0.7214 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.5459, allocations: 79.88 kB / 0.7215 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5459, allocations: 7.938 kB / 0.7215 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.5463, allocations: 43.77 kB / 0.7215 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.5464, allocations: 16 kB / 0.7215 GB, free: 14.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * 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 0.0001618/0.5465, allocations: 149.9 kB / 0.7217 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5466, allocations: 19.91 kB / 0.7217 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/0.5476, allocations: 0.4906 MB / 0.7222 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5476, allocations: 0 / 0.7222 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5476, allocations: 4 kB / 0.7222 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5476, allocations: 0 / 0.7222 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.5484, allocations: 457.8 kB / 0.7226 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5484, allocations: 4 kB / 0.7226 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.5489, allocations: 59.89 kB / 0.7227 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5489, allocations: 11.94 kB / 0.7227 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.549, allocations: 8 kB / 0.7227 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.549, allocations: 0 / 0.7227 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.549, allocations: 0 / 0.7227 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5501, allocations: 0.6912 MB / 0.7234 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.5502, allocations: 101 kB / 0.7235 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.5502, allocations: 8 kB / 0.7235 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.5507, allocations: 23.97 kB / 0.7235 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5508, allocations: 11.98 kB / 0.7235 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.5508, allocations: 15.98 kB / 0.7235 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.584e-05/0.5509, allocations: 107.6 kB / 0.7236 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5509, allocations: 0 / 0.7236 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006699/0.5515, allocations: 167.6 kB / 0.7238 GB, free: 12.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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): 28 * Array equations: 0 * 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.002175/0.5537, allocations: 1.461 MB / 0.7252 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008154/0.5545, allocations: 427.9 kB / 0.7256 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5545, allocations: 4 kB / 0.7256 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.5549, allocations: 215.7 kB / 0.7258 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.5556, allocations: 96.97 kB / 0.7259 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.5601, allocations: 3.227 MB / 0.7291 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.5605, allocations: 0.7439 MB / 0.7298 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.561, allocations: 117.8 kB / 0.7299 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.5611, allocations: 51.42 kB / 0.73 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.5611, allocations: 0 / 0.73 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/0.858, allocations: 10.43 MB / 0.7401 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.072, allocations: 8.719 kB / 0.7402 GB, free: 174.9 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.952324245125055] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium2.T', 'medium2.X[1]', 'medium2.X[2]', 'medium2.X[3]', 'medium2.X[4]', 'medium2.p', 'state.T', 'state.p'] 9.146900658961385 9.160448471 8.62678353 Calling exit ...