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.001859/0.001859, 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.002185/0.002185, 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.55/1.55, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2401/0.2401, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002272/0.002272, allocations: 87.28 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4284/0.5558, allocations: 153 MB / 0.6184 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.5619, allocations: 5.147 MB / 0.6234 GB, free: 4.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.562, allocations: 4 kB / 0.6234 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.5623, allocations: 51.61 kB / 0.6234 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.5654, allocations: 1.203 MB / 0.6246 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.5657, allocations: 149.6 kB / 0.6248 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.5663, allocations: 394.1 kB / 0.6251 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.5663, allocations: 13.67 kB / 0.6252 GB, free: 3.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.5666, allocations: 167.4 kB / 0.6253 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.5669, allocations: 171.5 kB / 0.6255 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.567, allocations: 8 kB / 0.6255 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.5689, allocations: 0.9831 MB / 0.6264 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.569, allocations: 47.75 kB / 0.6265 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.5691, allocations: 103.5 kB / 0.6266 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.5704, allocations: 0.8459 MB / 0.6274 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5704, allocations: 3.938 kB / 0.6274 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5705, allocations: 0 / 0.6274 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.5705, allocations: 0 / 0.6274 GB, free: 0.8125 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.001328/0.5718, allocations: 0.6872 MB / 0.6281 GB, free: 76 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5718, allocations: 8.031 kB / 0.6281 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.5719, allocations: 58.72 kB / 0.6282 GB, free: 0 / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008245/0.5802, allocations: 0.606 MB / 0.6287 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.5806, allocations: 271.5 kB / 0.629 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5808, allocations: 119.4 kB / 0.6291 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.5809, allocations: 20 kB / 0.6291 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5821, allocations: 0.5634 MB / 0.6297 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5822, allocations: 7.938 kB / 0.6297 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.5823, allocations: 16 kB / 0.6297 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5823, allocations: 4 kB / 0.6297 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.5838, allocations: 0.6299 MB / 0.6303 GB, free: 13.67 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.002314/0.5861, allocations: 1.714 MB / 0.632 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.5865, allocations: 158.5 kB / 0.6322 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.5867, allocations: 74.89 kB / 0.6322 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007803/0.5875, allocations: 0.7005 MB / 0.6329 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5875, allocations: 38.56 kB / 0.6329 GB, free: 10.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.5875, allocations: 0 / 0.6329 GB, free: 10.72 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.001058/0.5886, allocations: 326.7 kB / 0.6333 GB, free: 10.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.5887, allocations: 51.41 kB / 0.6333 GB, free: 10.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.5889, allocations: 195.8 kB / 0.6335 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.5889, allocations: 29.7 kB / 0.6335 GB, free: 10.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.589, allocations: 191.2 kB / 0.6337 GB, free: 9.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.5891, allocations: 63.09 kB / 0.6338 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5893, allocations: 93.95 kB / 0.6339 GB, free: 9.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5894, allocations: 330.8 kB / 0.6342 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.5896, allocations: 68.7 kB / 0.6342 GB, free: 9.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.5899, allocations: 268.5 kB / 0.6345 GB, free: 8.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.5904, allocations: 371.4 kB / 0.6348 GB, free: 8.539 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5904, allocations: 0 / 0.6348 GB, free: 8.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006702/0.5911, allocations: 376.9 kB / 0.6352 GB, free: 8.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5911, allocations: 8 kB / 0.6352 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5911, allocations: 4 kB / 0.6352 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5911, allocations: 15.94 kB / 0.6352 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.5916, allocations: 123.8 kB / 0.6353 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/0.592, allocations: 0.5977 MB / 0.6359 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.5922, allocations: 52.69 kB / 0.636 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.5923, allocations: 43.98 kB / 0.636 GB, free: 7.305 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.0001848/0.5925, allocations: 145.6 kB / 0.6362 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.5926, allocations: 19.81 kB / 0.6362 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.5936, allocations: 430.1 kB / 0.6366 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5936, allocations: 4 kB / 0.6366 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5937, allocations: 4 kB / 0.6366 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5937, allocations: 7.922 kB / 0.6366 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5947, allocations: 0.628 MB / 0.6372 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5947, allocations: 4.031 kB / 0.6372 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.595, allocations: 59.97 kB / 0.6373 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.595, allocations: 0 / 0.6373 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.595, allocations: 8.625 kB / 0.6373 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004257/0.5954, allocations: 0.5976 MB / 0.6379 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5955, allocations: 0 / 0.6379 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.5959, allocations: 293.3 kB / 0.6382 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.596, allocations: 112.8 kB / 0.6383 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.5961, allocations: 8 kB / 0.6383 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.5964, allocations: 15.98 kB / 0.6383 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.5964, allocations: 15.98 kB / 0.6383 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.5964, allocations: 15.98 kB / 0.6383 GB, free: 4.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.5966, allocations: 148.1 kB / 0.6385 GB, free: 4.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5966, allocations: 0 / 0.6385 GB, free: 4.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007273/0.5973, allocations: 152 kB / 0.6386 GB, free: 4.477 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.001304/0.5987, allocations: 0.9752 MB / 0.6396 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.5993, allocations: 236.5 kB / 0.6398 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5993, allocations: 0 / 0.6398 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.5995, allocations: 75.89 kB / 0.6399 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.6001, allocations: 70.12 kB / 0.6399 GB, free: 3.094 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.6045, allocations: 2.849 MB / 0.6427 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.605, allocations: 0.7244 MB / 0.6434 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009368/0.6059, allocations: 389 kB / 0.6438 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.6062, allocations: 99.36 kB / 0.6439 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6062, allocations: 0 / 0.6439 GB, free: 14.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.6407, allocations: 7.346 MB / 0.651 GB, free: 7.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.51, allocations: 11.02 kB / 0.6511 GB, free: 7.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)