Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 187.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 69.72 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1988, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5157/0.7145, allocations: 147 MB / 0.9265 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006828/0.7214, allocations: 7.029 MB / 0.9334 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.7217, allocations: 0.8438 kB / 0.9334 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.7221, allocations: 55.75 kB / 0.9334 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.7226, allocations: 124.7 kB / 0.9335 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.7251, allocations: 0.9339 MB / 0.9344 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.7255, allocations: 314.6 kB / 0.9347 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.7256, allocations: 11.02 kB / 0.9348 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.726, allocations: 197.2 kB / 0.9349 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.7262, allocations: 134 kB / 0.9351 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.7262, allocations: 11.34 kB / 0.9351 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.7279, allocations: 1.259 MB / 0.9363 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.728, allocations: 69.95 kB / 0.9364 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.7281, allocations: 108.7 kB / 0.9365 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.7291, allocations: 0.7184 MB / 0.9372 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7292, allocations: 0 / 0.9372 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7292, allocations: 0 / 0.9372 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.7292, allocations: 0 / 0.9372 GB, free: 6.074 MB / 0.7325 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.001387/0.7306, allocations: 0.5844 MB / 0.9378 GB, free: 21.63 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7306, allocations: 14.41 kB / 0.9378 GB, free: 21.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.7307, allocations: 57.38 kB / 0.9378 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7319, allocations: 136.6 kB / 0.938 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.7322, allocations: 217 kB / 0.9382 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7322, allocations: 15.19 kB / 0.9382 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.7322, allocations: 24.84 kB / 0.9382 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.7328, allocations: 331.3 kB / 0.9385 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7328, allocations: 4.109 kB / 0.9385 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.7328, allocations: 12.25 kB / 0.9385 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.7328, allocations: 17.5 kB / 0.9385 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.7333, allocations: 325.3 kB / 0.9389 GB, free: 21.29 MB / 0.7481 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.001434/0.7348, allocations: 1.106 MB / 0.9399 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.7353, allocations: 190 kB / 0.9401 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.7354, allocations: 81.3 kB / 0.9402 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.7359, allocations: 461.3 kB / 0.9406 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.736, allocations: 40.06 kB / 0.9407 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.736, allocations: 0 / 0.9407 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.0006119/0.7366, allocations: 262.1 kB / 0.9409 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.7366, allocations: 55.81 kB / 0.941 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.7368, allocations: 200.7 kB / 0.9412 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.7368, allocations: 29.45 kB / 0.9412 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.7369, allocations: 154 kB / 0.9413 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.737, allocations: 74.25 kB / 0.9414 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.737, allocations: 57.66 kB / 0.9415 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.7372, allocations: 329.3 kB / 0.9418 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7373, allocations: 70.33 kB / 0.9419 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7374, allocations: 161.2 kB / 0.942 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.7377, allocations: 244.5 kB / 0.9422 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.7377, allocations: 0 / 0.9422 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004772/0.7382, allocations: 293.3 kB / 0.9425 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7382, allocations: 8.031 kB / 0.9425 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7382, allocations: 3.188 kB / 0.9425 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7382, allocations: 9.406 kB / 0.9425 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.7385, allocations: 53.67 kB / 0.9426 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7385, allocations: 12.94 kB / 0.9426 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.7387, allocations: 30.3 kB / 0.9426 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.7388, allocations: 15.25 kB / 0.9426 GB, free: 18.95 MB / 0.7481 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.0001113/0.7389, allocations: 133.7 kB / 0.9428 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.739, allocations: 21.48 kB / 0.9428 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.7394, allocations: 281.7 kB / 0.9431 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7395, allocations: 11.31 kB / 0.9431 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7395, allocations: 0.5625 kB / 0.9431 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7395, allocations: 0.75 kB / 0.9431 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.7401, allocations: 0.5862 MB / 0.9436 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7401, allocations: 0 / 0.9436 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.7403, allocations: 36.45 kB / 0.9437 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.7403, allocations: 2.703 kB / 0.9437 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.7404, allocations: 8.453 kB / 0.9437 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7404, allocations: 4.109 kB / 0.9437 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7404, allocations: 0 / 0.9437 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.7408, allocations: 348.7 kB / 0.944 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.741, allocations: 119.7 kB / 0.9441 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.741, allocations: 5.25 kB / 0.9441 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7412, allocations: 14.97 kB / 0.9442 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.7413, allocations: 17.34 kB / 0.9442 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.7413, allocations: 15.58 kB / 0.9442 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001144/0.7414, allocations: 155 kB / 0.9443 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7415, allocations: 0 / 0.9443 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004736/0.7419, allocations: 105.9 kB / 0.9444 GB, free: 18.09 MB / 0.7481 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.0009583/0.7429, allocations: 0.9971 MB / 0.9454 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.7433, allocations: 217 kB / 0.9456 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7433, allocations: 1.438 kB / 0.9456 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.7434, allocations: 104.6 kB / 0.9457 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.744, allocations: 96.84 kB / 0.9458 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.7468, allocations: 2.546 MB / 0.9483 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.7471, allocations: 0.7402 MB / 0.949 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.7474, allocations: 55.67 kB / 0.9491 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7475, allocations: 61.28 kB / 0.9491 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7475, allocations: 0 / 0.9491 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2261/0.9736, allocations: 7.457 MB / 0.9564 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.9739, allocations: 185.1 kB / 0.9566 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.987, allocations: 8.156 kB / 0.9566 GB, free: 14.1 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)