Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002134/0.002133, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002626/0.002627, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.002266/0.002267, allocations: 80.45 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4016/0.5217, allocations: 152.4 MB / 0.6178 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.5239, allocations: 1.593 MB / 0.6194 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.5239, allocations: 0 / 0.6194 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.5243, allocations: 54.22 kB / 0.6194 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009728/0.5253, allocations: 410.8 kB / 0.6198 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.5259, allocations: 171.9 kB / 0.62 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.5261, allocations: 183.2 kB / 0.6202 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.5262, allocations: 14.19 kB / 0.6202 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.5264, allocations: 75.7 kB / 0.6202 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.5266, allocations: 63.73 kB / 0.6203 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.5266, allocations: 8 kB / 0.6203 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5278, allocations: 0.6002 MB / 0.6209 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.5279, allocations: 27.97 kB / 0.6209 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5281, allocations: 58.59 kB / 0.621 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007263/0.5288, allocations: 399.1 kB / 0.6214 GB, free: 7.207 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5288, allocations: 0 / 0.6214 GB, free: 7.207 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5288, allocations: 0 / 0.6214 GB, free: 7.207 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.5288, allocations: 0 / 0.6214 GB, free: 7.207 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007104/0.5295, allocations: 428.1 kB / 0.6218 GB, free: 6.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5296, allocations: 11.97 kB / 0.6218 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.5297, allocations: 46.75 kB / 0.6218 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.5321, allocations: 192.6 kB / 0.622 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.5324, allocations: 215.9 kB / 0.6222 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5324, allocations: 4 kB / 0.6222 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.5324, allocations: 8 kB / 0.6222 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.5329, allocations: 200.9 kB / 0.6224 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.533, allocations: 4 kB / 0.6224 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.533, allocations: 8 kB / 0.6224 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.533, allocations: 3.938 kB / 0.6224 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.5337, allocations: 239.8 kB / 0.6227 GB, free: 5.777 MB / 462.1 MB 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.001909/0.5356, allocations: 0.6686 MB / 0.6233 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.5361, allocations: 182.5 kB / 0.6235 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.5363, allocations: 92.81 kB / 0.6236 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.5365, allocations: 89.09 kB / 0.6237 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5365, allocations: 34.5 kB / 0.6237 GB, free: 4.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5365, allocations: 4 kB / 0.6237 GB, free: 4.621 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00623/0.5427, allocations: 1.544 MB / 0.6252 GB, free: 2.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.5428, allocations: 55.34 kB / 0.6253 GB, free: 2.902 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.5429, allocations: 113.8 kB / 0.6254 GB, free: 2.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.543, allocations: 29.7 kB / 0.6254 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.543, allocations: 100.3 kB / 0.6255 GB, free: 2.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.5431, allocations: 67.05 kB / 0.6256 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.5432, allocations: 41.7 kB / 0.6256 GB, free: 2.531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5434, allocations: 318.8 kB / 0.6259 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.5436, allocations: 91.95 kB / 0.626 GB, free: 2.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5439, allocations: 119.4 kB / 0.6261 GB, free: 1.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.5444, allocations: 231.2 kB / 0.6263 GB, free: 1.754 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5444, allocations: 0 / 0.6263 GB, free: 1.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006633/0.5451, allocations: 293.1 kB / 0.6266 GB, free: 1.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5451, allocations: 8 kB / 0.6266 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5451, allocations: 0 / 0.6266 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.5452, allocations: 24.84 kB / 0.6266 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.5457, allocations: 55.95 kB / 0.6267 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004001/0.5461, allocations: 0.5368 MB / 0.6272 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.5465, allocations: 11.95 kB / 0.6272 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.5465, allocations: 12 kB / 0.6272 GB, free: 0.7852 MB / 462.1 MB 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 (23): * Single equations (assignments): 22 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5467, allocations: 125.8 kB / 0.6274 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.5468, allocations: 11.91 kB / 0.6274 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008216/0.5476, allocations: 299.3 kB / 0.6277 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5476, allocations: 11.92 kB / 0.6277 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5476, allocations: 0 / 0.6277 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5476, allocations: 0 / 0.6277 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5488, allocations: 0.6742 MB / 0.6283 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5489, allocations: 4 kB / 0.6283 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.5494, allocations: 51.89 kB / 0.6284 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.314e-05/0.5494, allocations: 24.94 kB / 0.6284 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.5495, allocations: 16.86 kB / 0.6284 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.5506, allocations: 1.369 MB / 0.6298 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5506, allocations: 3.938 kB / 0.6298 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.5515, allocations: 449.3 kB / 0.6302 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.5516, allocations: 92.95 kB / 0.6303 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.5517, allocations: 4 kB / 0.6303 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.552, allocations: 15.98 kB / 0.6303 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.5521, allocations: 12.05 kB / 0.6303 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.5521, allocations: 15.98 kB / 0.6303 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.5522, allocations: 87.28 kB / 0.6304 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5522, allocations: 0 / 0.6304 GB, free: 13.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.5527, allocations: 135.9 kB / 0.6305 GB, free: 13.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.5546, allocations: 1.133 MB / 0.6316 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006673/0.5553, allocations: 239.7 kB / 0.6319 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5553, allocations: 4 kB / 0.6319 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.5557, allocations: 234.7 kB / 0.6321 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.5562, allocations: 50.72 kB / 0.6321 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.5595, allocations: 2.142 MB / 0.6342 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5599, allocations: 0.7085 MB / 0.6349 GB, free: 8.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.5603, allocations: 49.39 kB / 0.635 GB, free: 8.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.5605, allocations: 39.42 kB / 0.635 GB, free: 8.363 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5605, allocations: 0 / 0.635 GB, free: 8.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.5981, allocations: 7.915 MB / 0.6427 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.66, allocations: 15.23 kB / 0.6428 GB, free: 0.5508 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)