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 1.397/1.397, allocations: 287.4 MB / 302.6 MB, free: 8.098 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.0008378/0.0008378, allocations: 169 kB / 371.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006629/0.0006628, allocations: 96.42 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 15.03 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.4544/0.611, allocations: 135.2 MB / 1.111 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006069/0.6171, allocations: 6.527 MB / 1.117 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.6172, allocations: 0.7812 kB / 1.117 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.6175, allocations: 42.91 kB / 1.117 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.6178, allocations: 126.7 kB / 1.117 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.6196, allocations: 0.621 MB / 1.118 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.62, allocations: 409.9 kB / 1.118 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.62, allocations: 11.94 kB / 1.118 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.6204, allocations: 170.9 kB / 1.118 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.6205, allocations: 139.7 kB / 1.119 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.6206, allocations: 7.719 kB / 1.119 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.6219, allocations: 0.636 MB / 1.119 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.622, allocations: 67.03 kB / 1.119 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6221, allocations: 70.48 kB / 1.119 GB, free: 17.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.6226, allocations: 379.5 kB / 1.12 GB, free: 17.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6226, allocations: 0 / 1.12 GB, free: 17.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6226, allocations: 1.859 kB / 1.12 GB, free: 17.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6227, allocations: 1.312 kB / 1.12 GB, free: 17.14 MB / 0.698 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.0008511/0.6235, allocations: 0.5485 MB / 1.12 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6236, allocations: 9.031 kB / 1.12 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.6236, allocations: 57.86 kB / 1.12 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.6246, allocations: 132.9 kB / 1.12 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.6248, allocations: 216.5 kB / 1.121 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.6248, allocations: 22.08 kB / 1.121 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.6249, allocations: 18.25 kB / 1.121 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.6254, allocations: 340.6 kB / 1.121 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6254, allocations: 1.734 kB / 1.121 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.6254, allocations: 9.844 kB / 1.121 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.6255, allocations: 13.86 kB / 1.121 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.626, allocations: 319.9 kB / 1.121 GB, free: 16.34 MB / 0.698 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.001341/0.6273, allocations: 1.116 MB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.6277, allocations: 184.7 kB / 1.123 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.6279, allocations: 83.39 kB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.6283, allocations: 465.7 kB / 1.123 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.6284, allocations: 37.5 kB / 1.123 GB, free: 15.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.6284, allocations: 0 / 1.123 GB, free: 15.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0005393/0.6289, allocations: 252.5 kB / 1.123 GB, free: 14.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.629, allocations: 55.7 kB / 1.123 GB, free: 14.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.6291, allocations: 201.5 kB / 1.124 GB, free: 14.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.6292, allocations: 34.8 kB / 1.124 GB, free: 14.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.6293, allocations: 143.5 kB / 1.124 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.6293, allocations: 74.23 kB / 1.124 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6293, allocations: 6.219 kB / 1.124 GB, free: 14.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.6294, allocations: 330.8 kB / 1.124 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.6295, allocations: 69.03 kB / 1.124 GB, free: 14.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6297, allocations: 166 kB / 1.124 GB, free: 14.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.6299, allocations: 249.6 kB / 1.125 GB, free: 14.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6299, allocations: 2.75 kB / 1.125 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004405/0.6304, allocations: 280.2 kB / 1.125 GB, free: 13.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6304, allocations: 8.75 kB / 1.125 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6304, allocations: 5.094 kB / 1.125 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6304, allocations: 7.25 kB / 1.125 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.6307, allocations: 58.45 kB / 1.125 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6307, allocations: 10.59 kB / 1.125 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.6309, allocations: 37.2 kB / 1.125 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.6309, allocations: 11.45 kB / 1.125 GB, free: 13.95 MB / 0.698 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.0001029/0.631, allocations: 135 kB / 1.125 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6311, allocations: 25.55 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.6315, allocations: 279.2 kB / 1.125 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6316, allocations: 7.5 kB / 1.125 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6316, allocations: 2.188 kB / 1.125 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6316, allocations: 1.172 kB / 1.125 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.6322, allocations: 0.5748 MB / 1.126 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6322, allocations: 9.078 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.6324, allocations: 31.12 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6324, allocations: 2.562 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.6324, allocations: 9.703 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6324, allocations: 0 / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6324, allocations: 2.906 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.6328, allocations: 354.1 kB / 1.126 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.6329, allocations: 124.4 kB / 1.127 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.633, allocations: 2.75 kB / 1.127 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.6332, allocations: 17.06 kB / 1.127 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.6332, allocations: 10.34 kB / 1.127 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.6332, allocations: 14.03 kB / 1.127 GB, free: 13.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.8e-05/0.6333, allocations: 151.3 kB / 1.127 GB, free: 13.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6333, allocations: 0 / 1.127 GB, free: 13.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003993/0.6338, allocations: 116.7 kB / 1.127 GB, free: 13.05 MB / 0.698 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 (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.0008138/0.6346, allocations: 0.965 MB / 1.128 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.6349, allocations: 204.9 kB / 1.128 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6349, allocations: 2.656 kB / 1.128 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.635, allocations: 101.5 kB / 1.128 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.6356, allocations: 90.92 kB / 1.128 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.6372, allocations: 1.34 MB / 1.129 GB, free: 11.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.6375, allocations: 0.7366 MB / 1.13 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.6378, allocations: 54.8 kB / 1.13 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.6379, allocations: 57.83 kB / 1.13 GB, free: 10.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6379, allocations: 0 / 1.13 GB, free: 10.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6426/1.28, allocations: 7.009 MB / 1.137 GB, free: 9.465 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.281, allocations: 181.8 kB / 1.137 GB, free: 9.219 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.206, allocations: 0 / 1.137 GB, free: 9.219 MB / 0.698 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)