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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 133.6 MB / 141.6 MB, free: 2.938 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 103.3 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.047e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4989, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.317/5.816, allocations: 1.884 GB / 2.518 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/5.817, allocations: 78.89 kB / 2.518 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09232/5.909, allocations: 47.35 MB / 2.564 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.363e-06/5.909, allocations: 0 / 2.564 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.237e-05/5.909, allocations: 4 kB / 2.564 GB, free: 74.5 MB / 0.6823 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.001171/5.91, allocations: 0.5569 MB / 2.564 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/5.91, allocations: 8.031 kB / 2.565 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/5.912, allocations: 135.6 kB / 2.565 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/5.912, allocations: 222.7 kB / 2.565 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/5.912, allocations: 8 kB / 2.565 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/5.912, allocations: 12 kB / 2.565 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/5.913, allocations: 312.6 kB / 2.565 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/5.913, allocations: 278 kB / 2.565 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/5.913, allocations: 4 kB / 2.565 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/5.913, allocations: 3.953 kB / 2.565 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/5.913, allocations: 19.98 kB / 2.565 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/5.914, allocations: 1.091 MB / 2.567 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/5.915, allocations: 178.7 kB / 2.567 GB, free: 71.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/5.915, allocations: 73.02 kB / 2.567 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/5.915, allocations: 364.3 kB / 2.567 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/5.915, allocations: 38.56 kB / 2.567 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/5.915, allocations: 3.938 kB / 2.567 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004419/5.916, allocations: 178.5 kB / 2.567 GB, free: 70.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/5.916, allocations: 55.41 kB / 2.567 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/5.916, allocations: 140.8 kB / 2.568 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/5.916, allocations: 29.7 kB / 2.568 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/5.916, allocations: 148 kB / 2.568 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/5.916, allocations: 70.94 kB / 2.568 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/5.916, allocations: 0 / 2.568 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/5.916, allocations: 326.8 kB / 2.568 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/5.916, allocations: 64.25 kB / 2.568 GB, free: 69.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/5.916, allocations: 143.7 kB / 2.568 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/5.916, allocations: 92.61 kB / 2.568 GB, free: 69.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/5.917, allocations: 0 / 2.568 GB, free: 69.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003854/5.917, allocations: 254.4 kB / 2.569 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/5.917, allocations: 8 kB / 2.569 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/5.917, allocations: 4 kB / 2.569 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/5.917, allocations: 4 kB / 2.569 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/5.917, allocations: 55.91 kB / 2.569 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/5.917, allocations: 4 kB / 2.569 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/5.917, allocations: 24.12 kB / 2.569 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/5.917, allocations: 16 kB / 2.569 GB, free: 69.27 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/5.918, allocations: 112.8 kB / 2.569 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002923/5.918, allocations: 180.1 kB / 2.569 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/5.918, allocations: 11.91 kB / 2.569 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/5.918, allocations: 218.2 kB / 2.569 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/5.918, allocations: 0 / 2.569 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/5.918, allocations: 4 kB / 2.569 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/5.918, allocations: 0 / 2.569 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/5.919, allocations: 0.4886 MB / 2.57 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/5.919, allocations: 0 / 2.57 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/5.919, allocations: 39.92 kB / 2.57 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/5.919, allocations: 0 / 2.57 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/5.919, allocations: 4 kB / 2.57 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/5.919, allocations: 3.984 kB / 2.57 GB, free: 68.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/5.919, allocations: 4.062 kB / 2.57 GB, free: 68.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/5.919, allocations: 310.2 kB / 2.57 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/5.92, allocations: 120.8 kB / 2.57 GB, free: 67.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/5.92, allocations: 0 / 2.57 GB, free: 67.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/5.92, allocations: 12 kB / 2.57 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/5.92, allocations: 11.92 kB / 2.57 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/5.92, allocations: 23.92 kB / 2.57 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.588e-05/5.92, allocations: 114.6 kB / 2.57 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.92, allocations: 0 / 2.57 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005737/5.921, allocations: 147.8 kB / 2.57 GB, free: 67.38 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/5.922, allocations: 1.607 MB / 2.572 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002882/5.922, allocations: 164.4 kB / 2.572 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/5.922, allocations: 4.125 kB / 2.572 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/5.922, allocations: 79.91 kB / 2.572 GB, free: 65.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/5.923, allocations: 47.92 kB / 2.572 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/5.924, allocations: 316.6 kB / 2.573 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/5.924, allocations: 0.7326 MB / 2.573 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002901/5.924, allocations: 49.83 kB / 2.573 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/5.924, allocations: 55.42 kB / 2.573 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/5.924, allocations: 0 / 2.573 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/5.953, allocations: 9.543 MB / 2.583 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/5.953, allocations: 112.7 kB / 2.583 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/7.992, allocations: 0 / 2.583 GB, free: 54.54 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)