Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.512/2.512, allocations: 287.3 MB / 302.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 189.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 94.47 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005342, allocations: 14.95 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2519, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.972/7.224, allocations: 2.077 GB / 3.055 GB, free: 178.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/7.225, allocations: 79.47 kB / 3.055 GB, free: 178.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1783/7.403, allocations: 50.56 MB / 3.104 GB, free: 135.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/7.403, allocations: 0 / 3.104 GB, free: 135.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.255e-05/7.403, allocations: 4 kB / 3.104 GB, free: 135.9 MB / 0.948 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.001568/7.405, allocations: 0.5711 MB / 3.105 GB, free: 135.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/7.405, allocations: 16.02 kB / 3.105 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/7.405, allocations: 54.55 kB / 3.105 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/7.407, allocations: 135.6 kB / 3.105 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/7.407, allocations: 222.8 kB / 3.105 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/7.407, allocations: 12.38 kB / 3.105 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/7.407, allocations: 20 kB / 3.105 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/7.408, allocations: 326.1 kB / 3.106 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/7.408, allocations: 11.88 kB / 3.106 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/7.408, allocations: 12 kB / 3.106 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/7.408, allocations: 19.98 kB / 3.106 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/7.409, allocations: 316.1 kB / 3.106 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/7.411, allocations: 1.163 MB / 3.107 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/7.412, allocations: 188 kB / 3.107 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/7.413, allocations: 453.5 kB / 3.108 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/7.413, allocations: 42.5 kB / 3.108 GB, free: 132 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 3.045e-06/7.413, allocations: 0 / 3.108 GB, free: 132 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.001029/7.414, allocations: 345.5 kB / 3.108 GB, free: 131.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/7.414, allocations: 51.41 kB / 3.108 GB, free: 131.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/7.414, allocations: 182.6 kB / 3.108 GB, free: 131.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/7.414, allocations: 33.69 kB / 3.108 GB, free: 131.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/7.414, allocations: 139.9 kB / 3.108 GB, free: 131.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/7.414, allocations: 82.92 kB / 3.109 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/7.414, allocations: 4 kB / 3.109 GB, free: 131.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/7.414, allocations: 330.8 kB / 3.109 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/7.414, allocations: 72.22 kB / 3.109 GB, free: 130.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/7.415, allocations: 159.7 kB / 3.109 GB, free: 130.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/7.415, allocations: 90.52 kB / 3.109 GB, free: 130.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/7.415, allocations: 4 kB / 3.109 GB, free: 130.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007894/7.416, allocations: 291.1 kB / 3.109 GB, free: 130.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/7.416, allocations: 4 kB / 3.109 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/7.416, allocations: 4 kB / 3.109 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/7.416, allocations: 4 kB / 3.109 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/7.416, allocations: 51.92 kB / 3.109 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/7.416, allocations: 12.47 kB / 3.109 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/7.417, allocations: 39.58 kB / 3.11 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/7.417, allocations: 16 kB / 3.11 GB, free: 130.1 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/7.417, allocations: 133.8 kB / 3.11 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/7.417, allocations: 19.81 kB / 3.11 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/7.418, allocations: 255.2 kB / 3.11 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/7.418, allocations: 4 kB / 3.11 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.418, allocations: 4 kB / 3.11 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/7.418, allocations: 0 / 3.11 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/7.419, allocations: 0.5474 MB / 3.11 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/7.419, allocations: 0 / 3.11 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/7.419, allocations: 35.92 kB / 3.111 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/7.419, allocations: 4 kB / 3.111 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/7.419, allocations: 0 / 3.111 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/7.419, allocations: 4 kB / 3.111 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.419, allocations: 11.98 kB / 3.111 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/7.42, allocations: 343.1 kB / 3.111 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/7.42, allocations: 116.8 kB / 3.111 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/7.42, allocations: 8 kB / 3.111 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/7.421, allocations: 7.984 kB / 3.111 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/7.421, allocations: 19.94 kB / 3.111 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/7.421, allocations: 8 kB / 3.111 GB, free: 128.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001718/7.421, allocations: 153.4 kB / 3.111 GB, free: 128.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/7.421, allocations: 4 kB / 3.111 GB, free: 128.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008428/7.422, allocations: 147.9 kB / 3.111 GB, free: 128.1 MB / 0.948 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 (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.002018/7.424, allocations: 1.563 MB / 3.113 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005679/7.425, allocations: 196.2 kB / 3.113 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/7.425, allocations: 0 / 3.113 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/7.425, allocations: 83.89 kB / 3.113 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/7.426, allocations: 91.73 kB / 3.113 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/7.429, allocations: 3.099 MB / 3.116 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/7.429, allocations: 0.7406 MB / 3.117 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005304/7.429, allocations: 54.25 kB / 3.117 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/7.43, allocations: 59.42 kB / 3.117 GB, free: 122.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.133e-06/7.43, allocations: 0 / 3.117 GB, free: 122.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/7.487, allocations: 15.77 MB / 3.132 GB, free: 106.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/7.487, allocations: 159 kB / 3.133 GB, free: 106.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/10.71, allocations: 4 kB / 3.133 GB, free: 106.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)