Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 104.1 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.001436/0.001436, 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.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2258/0.2258, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002291/0.002291, allocations: 80.81 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 62.46 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4094/0.5504, allocations: 152.2 MB / 0.6176 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.552, allocations: 1.058 MB / 0.6187 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.552, allocations: 4 kB / 0.6187 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.5524, allocations: 35.75 kB / 0.6187 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.5531, allocations: 276.7 kB / 0.619 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.5535, allocations: 112.2 kB / 0.6191 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.5537, allocations: 183.2 kB / 0.6192 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.5538, allocations: 6.25 kB / 0.6193 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.554, allocations: 95.56 kB / 0.6193 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.5541, allocations: 55.81 kB / 0.6194 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.5541, allocations: 4 kB / 0.6194 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.5547, allocations: 275.7 kB / 0.6197 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.5548, allocations: 19.86 kB / 0.6197 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.5548, allocations: 43.8 kB / 0.6197 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.5553, allocations: 283.4 kB / 0.62 GB, free: 8.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5553, allocations: 4 kB / 0.62 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5554, allocations: 0 / 0.62 GB, free: 8.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.5554, allocations: 0 / 0.62 GB, free: 8.453 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005593/0.5559, allocations: 411.5 kB / 0.6204 GB, free: 8.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.556, allocations: 12.02 kB / 0.6204 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.556, allocations: 40.19 kB / 0.6204 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.5583, allocations: 192.6 kB / 0.6206 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.5586, allocations: 211.7 kB / 0.6208 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5586, allocations: 8 kB / 0.6208 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.5587, allocations: 12 kB / 0.6208 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.5592, allocations: 226.2 kB / 0.6211 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5592, allocations: 4 kB / 0.6211 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.5593, allocations: 4 kB / 0.6211 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5593, allocations: 4 kB / 0.6211 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.5597, allocations: 171.8 kB / 0.6212 GB, free: 7.082 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.001211/0.561, allocations: 0.5804 MB / 0.6218 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.5613, allocations: 134.5 kB / 0.6219 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.5615, allocations: 79.52 kB / 0.622 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.5615, allocations: 0 / 0.622 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5616, allocations: 34.56 kB / 0.622 GB, free: 6.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5616, allocations: 4 kB / 0.622 GB, free: 6.184 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.005834/0.5674, allocations: 1.304 MB / 0.6233 GB, free: 4.789 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.5675, allocations: 59.41 kB / 0.6234 GB, free: 4.719 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5676, allocations: 113.8 kB / 0.6235 GB, free: 4.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5677, allocations: 25.7 kB / 0.6235 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.5678, allocations: 99.94 kB / 0.6236 GB, free: 4.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.5678, allocations: 74.97 kB / 0.6237 GB, free: 4.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5679, allocations: 53.69 kB / 0.6237 GB, free: 4.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.5681, allocations: 314.8 kB / 0.624 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5683, allocations: 71.81 kB / 0.6241 GB, free: 3.945 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.5685, allocations: 111.3 kB / 0.6242 GB, free: 3.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.5689, allocations: 179.3 kB / 0.6244 GB, free: 3.637 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5689, allocations: 0 / 0.6244 GB, free: 3.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005453/0.5695, allocations: 262.2 kB / 0.6246 GB, free: 3.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5695, allocations: 10.66 kB / 0.6246 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5695, allocations: 0 / 0.6246 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.5697, allocations: 56.77 kB / 0.6247 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.5701, allocations: 51.91 kB / 0.6247 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000572/0.5706, allocations: 0.5641 MB / 0.6253 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5708, allocations: 17.09 kB / 0.6253 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.5709, allocations: 31.98 kB / 0.6253 GB, free: 2.621 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.0001291/0.571, allocations: 117.8 kB / 0.6254 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.5711, allocations: 7.906 kB / 0.6255 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.572, allocations: 352 kB / 0.6258 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.572, allocations: 4 kB / 0.6258 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.5721, allocations: 0 / 0.6258 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5721, allocations: 4 kB / 0.6258 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5731, allocations: 0.6329 MB / 0.6264 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5732, allocations: 0 / 0.6264 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5735, allocations: 55.95 kB / 0.6265 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.5736, allocations: 28.78 kB / 0.6265 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.5737, allocations: 15.98 kB / 0.6265 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.5748, allocations: 1.36 MB / 0.6278 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5748, allocations: 4.156 kB / 0.6278 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.5756, allocations: 434.6 kB / 0.6283 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.5756, allocations: 88.95 kB / 0.6283 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.5757, allocations: 8.062 kB / 0.6283 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5759, allocations: 8 kB / 0.6284 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.576, allocations: 23.97 kB / 0.6284 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.576, allocations: 27.98 kB / 0.6284 GB, free: 15.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.5761, allocations: 91.27 kB / 0.6285 GB, free: 15.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5761, allocations: 0 / 0.6285 GB, free: 15.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.5765, allocations: 79.94 kB / 0.6286 GB, free: 15.04 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 (21): * Single equations (assignments): 20 * 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.001329/0.5778, allocations: 1.008 MB / 0.6296 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.5784, allocations: 215.7 kB / 0.6298 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5784, allocations: 4.188 kB / 0.6298 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.5788, allocations: 226.4 kB / 0.63 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.5793, allocations: 54.66 kB / 0.63 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.5822, allocations: 2.051 MB / 0.632 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5826, allocations: 0.7085 MB / 0.6327 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004488/0.5831, allocations: 77.38 kB / 0.6328 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.5833, allocations: 67.41 kB / 0.6329 GB, free: 10.44 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5833, allocations: 0 / 0.6329 GB, free: 10.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.6187, allocations: 7.279 MB / 0.64 GB, free: 3.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.71, allocations: 6.406 kB / 0.64 GB, free: 3.27 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)