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.001355/0.001355, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2412/0.2412, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002202/0.002202, allocations: 76.64 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4089/0.5328, allocations: 152.5 MB / 0.6178 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.535, allocations: 1.595 MB / 0.6194 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.5351, allocations: 0 / 0.6194 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.5354, allocations: 58.72 kB / 0.6194 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009/0.5363, allocations: 405.4 kB / 0.6198 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.5368, allocations: 163.5 kB / 0.62 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.5371, allocations: 183.3 kB / 0.6202 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.5371, allocations: 10.19 kB / 0.6202 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.5373, allocations: 83.62 kB / 0.6202 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.5374, allocations: 59.83 kB / 0.6203 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.5374, allocations: 4 kB / 0.6203 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5386, allocations: 0.6002 MB / 0.6209 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.5386, allocations: 33.02 kB / 0.6209 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.5387, allocations: 51.8 kB / 0.621 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.5394, allocations: 403.1 kB / 0.6214 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5394, allocations: 0 / 0.6214 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5394, allocations: 0 / 0.6214 GB, free: 7.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.5394, allocations: 0 / 0.6214 GB, free: 7.203 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.0006042/0.54, allocations: 428.1 kB / 0.6218 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5401, allocations: 12.03 kB / 0.6218 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.5401, allocations: 40.12 kB / 0.6218 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.5425, allocations: 192.6 kB / 0.622 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.5428, allocations: 215.9 kB / 0.6222 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.5428, allocations: 4 kB / 0.6222 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.5429, allocations: 15.94 kB / 0.6222 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.5434, allocations: 204.5 kB / 0.6224 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5434, allocations: 3.938 kB / 0.6224 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.5435, allocations: 4 kB / 0.6224 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5435, allocations: 7.938 kB / 0.6224 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.5441, allocations: 235.8 kB / 0.6227 GB, free: 5.773 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.001838/0.5459, allocations: 0.6725 MB / 0.6233 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.5464, allocations: 186 kB / 0.6235 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.5466, allocations: 92.81 kB / 0.6236 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.5468, allocations: 93.09 kB / 0.6237 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.5469, allocations: 34.5 kB / 0.6237 GB, free: 4.613 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.5469, allocations: 0 / 0.6237 GB, free: 4.613 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.006173/0.553, allocations: 1.535 MB / 0.6252 GB, free: 2.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5531, allocations: 55.41 kB / 0.6253 GB, free: 2.902 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.5532, allocations: 109.8 kB / 0.6254 GB, free: 2.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.5533, allocations: 33.7 kB / 0.6254 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.5533, allocations: 96.31 kB / 0.6255 GB, free: 2.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.5534, allocations: 71.03 kB / 0.6255 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.5535, allocations: 41.69 kB / 0.6256 GB, free: 2.531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5537, allocations: 318.8 kB / 0.6259 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5539, allocations: 93.08 kB / 0.626 GB, free: 2.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.5542, allocations: 127.4 kB / 0.6261 GB, free: 1.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.5547, allocations: 230.6 kB / 0.6263 GB, free: 1.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5547, allocations: 0 / 0.6263 GB, free: 1.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006773/0.5554, allocations: 290.1 kB / 0.6266 GB, free: 1.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5554, allocations: 4 kB / 0.6266 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5554, allocations: 4 kB / 0.6266 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.5556, allocations: 20.84 kB / 0.6266 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.5561, allocations: 59.89 kB / 0.6267 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.5565, allocations: 0.5332 MB / 0.6272 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.5569, allocations: 19.95 kB / 0.6272 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.5569, allocations: 4.875 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.0001487/0.5571, allocations: 133.8 kB / 0.6274 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.5571, allocations: 8 kB / 0.6274 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.558, allocations: 311.2 kB / 0.6277 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.558, allocations: 3.938 kB / 0.6277 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.558, allocations: 4 kB / 0.6277 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.558, allocations: 0 / 0.6277 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.5592, allocations: 0.6781 MB / 0.6283 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5592, allocations: 4 kB / 0.6283 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.5597, allocations: 55.98 kB / 0.6284 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.175e-05/0.5598, allocations: 20.84 kB / 0.6284 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5598, allocations: 7.984 kB / 0.6284 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.561, allocations: 1.368 MB / 0.6298 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.561, allocations: 4.031 kB / 0.6298 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.5619, allocations: 448.8 kB / 0.6302 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.562, allocations: 84.92 kB / 0.6303 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.562, allocations: 8 kB / 0.6303 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.5624, allocations: 16.05 kB / 0.6303 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.5624, allocations: 11.98 kB / 0.6303 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5624, allocations: 15.98 kB / 0.6303 GB, free: 13.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.5625, allocations: 87.22 kB / 0.6304 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5625, allocations: 0 / 0.6304 GB, free: 13.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.563, allocations: 135.9 kB / 0.6305 GB, free: 13.13 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.00178/0.5648, allocations: 1.137 MB / 0.6316 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006721/0.5655, allocations: 246 kB / 0.6319 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5655, allocations: 0 / 0.6319 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.566, allocations: 230.5 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.0004636/0.5664, allocations: 58.09 kB / 0.6321 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.5696, allocations: 2.128 MB / 0.6342 GB, free: 9.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.57, allocations: 0.7085 MB / 0.6349 GB, free: 8.445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.5704, allocations: 53.39 kB / 0.635 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.5705, allocations: 39.42 kB / 0.635 GB, free: 8.355 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5705, allocations: 4 kB / 0.635 GB, free: 8.352 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.6065, allocations: 7.921 MB / 0.6427 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.75, allocations: 7.922 kB / 0.6428 GB, free: 0.543 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)