Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9699/0.9699, allocations: 135.1 MB / 425.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 68.14 kB / 0.5053 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1858, allocations: 80.91 MB / 0.5843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4936/0.6794, allocations: 149.1 MB / 0.7299 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.6838, allocations: 3.612 MB / 0.7335 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.6839, allocations: 1.344 kB / 0.7335 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.6843, allocations: 65.84 kB / 0.7335 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.6847, allocations: 130.1 kB / 0.7337 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.6877, allocations: 1.007 MB / 0.7346 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.6883, allocations: 326.3 kB / 0.7349 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.636e-05/0.6883, allocations: 12.41 kB / 0.735 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.6888, allocations: 197.2 kB / 0.7351 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.689, allocations: 128.7 kB / 0.7353 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.6891, allocations: 9.969 kB / 0.7353 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.6915, allocations: 1.224 MB / 0.7365 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6917, allocations: 66.53 kB / 0.7365 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.6918, allocations: 110.9 kB / 0.7366 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.6936, allocations: 0.632 MB / 0.7373 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.6937, allocations: 0 / 0.7373 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6937, allocations: 0 / 0.7373 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6937, allocations: 0 / 0.7373 GB, free: 12.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00159/0.6953, allocations: 0.5908 MB / 0.7378 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6953, allocations: 9.031 kB / 0.7378 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.6967, allocations: 132.6 kB / 0.738 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.697, allocations: 219.6 kB / 0.7382 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.6971, allocations: 17.78 kB / 0.7382 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.6971, allocations: 26.67 kB / 0.7382 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.6977, allocations: 332.9 kB / 0.7385 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6977, allocations: 2.531 kB / 0.7385 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.6978, allocations: 10.16 kB / 0.7386 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.6978, allocations: 25.48 kB / 0.7386 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.6983, allocations: 316.5 kB / 0.7389 GB, free: 11.47 MB / 0.5606 GB 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.001728/0.7001, allocations: 1.111 MB / 0.74 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.7006, allocations: 193 kB / 0.7402 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.7007, allocations: 86.45 kB / 0.7402 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.7013, allocations: 461.7 kB / 0.7407 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.7013, allocations: 37.88 kB / 0.7407 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/0.7013, allocations: 0 / 0.7407 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.000697/0.702, allocations: 269.8 kB / 0.741 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7021, allocations: 58.16 kB / 0.741 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.7023, allocations: 195.7 kB / 0.7412 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.7024, allocations: 31.19 kB / 0.7412 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7025, allocations: 157.5 kB / 0.7414 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.7026, allocations: 71.19 kB / 0.7415 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.7026, allocations: 54.27 kB / 0.7415 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7028, allocations: 328.3 kB / 0.7418 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7029, allocations: 69.47 kB / 0.7419 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.7031, allocations: 159 kB / 0.742 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.7035, allocations: 243.1 kB / 0.7423 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7035, allocations: 1.375 kB / 0.7423 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005549/0.704, allocations: 291.2 kB / 0.7426 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.7041, allocations: 9.906 kB / 0.7426 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7041, allocations: 6.984 kB / 0.7426 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7041, allocations: 5.375 kB / 0.7426 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.7044, allocations: 57.11 kB / 0.7426 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7044, allocations: 7.625 kB / 0.7426 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.7046, allocations: 28.09 kB / 0.7427 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.7047, allocations: 19.11 kB / 0.7427 GB, free: 8.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.7048, allocations: 134.9 kB / 0.7428 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.705, allocations: 25.27 kB / 0.7428 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.7055, allocations: 275.3 kB / 0.7431 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7055, allocations: 10.31 kB / 0.7431 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7055, allocations: 0 / 0.7431 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7055, allocations: 1.5 kB / 0.7431 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.7063, allocations: 0.5771 MB / 0.7437 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7064, allocations: 5.312 kB / 0.7437 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.7065, allocations: 35.77 kB / 0.7437 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7066, allocations: 0 / 0.7437 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.7066, allocations: 6.281 kB / 0.7437 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7066, allocations: 6.094 kB / 0.7437 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7066, allocations: 7.125 kB / 0.7437 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.7071, allocations: 346.3 kB / 0.7441 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.7072, allocations: 117.7 kB / 0.7442 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.7073, allocations: 10.8 kB / 0.7442 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.7075, allocations: 18.47 kB / 0.7442 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.7076, allocations: 11.48 kB / 0.7442 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.7076, allocations: 18.11 kB / 0.7442 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001213/0.7077, allocations: 146.3 kB / 0.7444 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7077, allocations: 3.938 kB / 0.7444 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005553/0.7083, allocations: 116.8 kB / 0.7445 GB, free: 6.992 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004256/0.7087, allocations: 216.4 kB / 0.7447 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.7091, allocations: 217.8 kB / 0.7449 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7092, allocations: 3.406 kB / 0.7449 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7093, allocations: 107.8 kB / 0.745 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.71, allocations: 100.9 kB / 0.7451 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.7107, allocations: 464.6 kB / 0.7455 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.711, allocations: 0.7343 MB / 0.7463 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002847/0.7113, allocations: 60.73 kB / 0.7463 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.7114, allocations: 27.03 kB / 0.7463 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.7114, allocations: 4 kB / 0.7463 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of Templates: time 0.01095/0.7224, allocations: 5.476 MB / 0.7517 GB, free: 1.203 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)