Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, 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.001248/0.001248, 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.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2358/0.2358, allocations: 46.11 MB / 344.2 MB, free: 11.62 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.002299/0.002299, allocations: 85.39 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 62.45 MB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.412/0.5384, allocations: 153 MB / 0.6184 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.5451, allocations: 5.144 MB / 0.6234 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.5454, allocations: 0 / 0.6234 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.5457, allocations: 59.59 kB / 0.6235 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.5496, allocations: 1.196 MB / 0.6246 GB, free: 3.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.55, allocations: 154.9 kB / 0.6248 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.5507, allocations: 394.1 kB / 0.6251 GB, free: 3.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.5508, allocations: 13.62 kB / 0.6252 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.5511, allocations: 163.3 kB / 0.6253 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.5514, allocations: 179.5 kB / 0.6255 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.5514, allocations: 8 kB / 0.6255 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.5539, allocations: 0.9754 MB / 0.6264 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.554, allocations: 47.75 kB / 0.6265 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.5542, allocations: 111.5 kB / 0.6266 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.5561, allocations: 0.842 MB / 0.6274 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5561, allocations: 0 / 0.6274 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5561, allocations: 0 / 0.6274 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5562, allocations: 0 / 0.6274 GB, free: 0.8867 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001742/0.5579, allocations: 0.6872 MB / 0.6281 GB, free: 152 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.558, allocations: 12.03 kB / 0.6281 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.847e-05/0.5581, allocations: 58.73 kB / 0.6282 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008265/0.5663, allocations: 0.6097 MB / 0.6288 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.567, allocations: 267.5 kB / 0.629 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.5672, allocations: 119.4 kB / 0.6291 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5673, allocations: 24 kB / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5686, allocations: 0.5595 MB / 0.6297 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5687, allocations: 0 / 0.6297 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.5688, allocations: 16 kB / 0.6297 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.5688, allocations: 8 kB / 0.6297 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.5704, allocations: 0.6299 MB / 0.6303 GB, free: 13.75 MB / 478.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.00267/0.573, allocations: 1.722 MB / 0.632 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.5735, allocations: 150.5 kB / 0.6322 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.5736, allocations: 72.88 kB / 0.6322 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008635/0.5745, allocations: 0.7043 MB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5746, allocations: 38.56 kB / 0.6329 GB, free: 10.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.5746, allocations: 0 / 0.6329 GB, free: 10.79 MB / 478.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=17): time 0.001136/0.5757, allocations: 319.3 kB / 0.6333 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5758, allocations: 55.39 kB / 0.6333 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.576, allocations: 199.7 kB / 0.6335 GB, free: 10.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.5761, allocations: 29.7 kB / 0.6335 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5762, allocations: 187.3 kB / 0.6337 GB, free: 9.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.5763, allocations: 59.11 kB / 0.6338 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5765, allocations: 97.95 kB / 0.6339 GB, free: 9.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5767, allocations: 330.8 kB / 0.6342 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5769, allocations: 68.7 kB / 0.6342 GB, free: 9.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.5772, allocations: 264.5 kB / 0.6345 GB, free: 9.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.5778, allocations: 371 kB / 0.6348 GB, free: 8.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5778, allocations: 3.938 kB / 0.6348 GB, free: 8.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006851/0.5785, allocations: 378.2 kB / 0.6352 GB, free: 8.238 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5785, allocations: 4 kB / 0.6352 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5785, allocations: 8 kB / 0.6352 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5786, allocations: 15.94 kB / 0.6352 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.579, allocations: 128.7 kB / 0.6354 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004664/0.5795, allocations: 0.5977 MB / 0.6359 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.5798, allocations: 47.75 kB / 0.636 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.5798, allocations: 40 kB / 0.636 GB, free: 7.379 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.58, allocations: 153.6 kB / 0.6362 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.5801, allocations: 23.8 kB / 0.6362 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.5811, allocations: 421.6 kB / 0.6366 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5812, allocations: 0 / 0.6366 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5812, allocations: 4 kB / 0.6366 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5812, allocations: 4 kB / 0.6366 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5822, allocations: 0.6304 MB / 0.6372 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5822, allocations: 8.844 kB / 0.6372 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5825, allocations: 63.91 kB / 0.6373 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5825, allocations: 4 kB / 0.6373 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.5825, allocations: 7.984 kB / 0.6373 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004334/0.583, allocations: 0.5937 MB / 0.6379 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.583, allocations: 8.031 kB / 0.6379 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.5834, allocations: 294.6 kB / 0.6382 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5835, allocations: 112.8 kB / 0.6383 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.5836, allocations: 8 kB / 0.6383 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.5838, allocations: 11.98 kB / 0.6383 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.5839, allocations: 15.98 kB / 0.6383 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.5839, allocations: 16 kB / 0.6383 GB, free: 4.836 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.5841, allocations: 148.1 kB / 0.6385 GB, free: 4.691 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5841, allocations: 0 / 0.6385 GB, free: 4.691 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007468/0.5848, allocations: 152 kB / 0.6386 GB, free: 4.543 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.5862, allocations: 0.9622 MB / 0.6395 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.5868, allocations: 232.7 kB / 0.6398 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5868, allocations: 0 / 0.6398 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.587, allocations: 79.78 kB / 0.6398 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.5876, allocations: 79.58 kB / 0.6399 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5917, allocations: 2.846 MB / 0.6427 GB, free: 20 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5922, allocations: 0.7322 MB / 0.6434 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008892/0.593, allocations: 389 kB / 0.6438 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.5933, allocations: 91.38 kB / 0.6439 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5933, allocations: 0 / 0.6439 GB, free: 14.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.6277, allocations: 7.346 MB / 0.651 GB, free: 7.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.63, allocations: 8.047 kB / 0.6511 GB, free: 7.582 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)