Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_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.001265/0.001264, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001497/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.893/1.893, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.078/3.078, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003639, allocations: 8 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.858, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1634/1.022, allocations: 125.9 MB / 1.104 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003555/1.025, allocations: 3.021 MB / 1.107 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/1.025, allocations: 0 / 1.107 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002771/1.026, allocations: 51.78 kB / 1.107 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/1.026, allocations: 95.7 kB / 1.107 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/1.028, allocations: 0.6769 MB / 1.108 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/1.028, allocations: 184.6 kB / 1.108 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/1.028, allocations: 13.56 kB / 1.108 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/1.028, allocations: 163.4 kB / 1.108 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/1.029, allocations: 95.7 kB / 1.108 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/1.029, allocations: 8 kB / 1.108 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/1.03, allocations: 0.6785 MB / 1.109 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/1.031, allocations: 63.86 kB / 1.109 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/1.031, allocations: 65.58 kB / 1.109 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006577/1.031, allocations: 373.3 kB / 1.109 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/1.031, allocations: 8 kB / 1.109 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.031, allocations: 0 / 1.109 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.031, allocations: 0 / 1.109 GB, free: 2.586 MB / 0.8575 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.00121/1.033, allocations: 0.5536 MB / 1.11 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.033, allocations: 8.031 kB / 1.11 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/1.033, allocations: 54.55 kB / 1.11 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/1.034, allocations: 131.7 kB / 1.11 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/1.034, allocations: 218.8 kB / 1.11 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/1.034, allocations: 24.27 kB / 1.11 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/1.035, allocations: 16 kB / 1.11 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/1.035, allocations: 334.3 kB / 1.11 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.035, allocations: 3.938 kB / 1.11 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/1.035, allocations: 8 kB / 1.11 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/1.035, allocations: 23.92 kB / 1.11 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/1.036, allocations: 324.1 kB / 1.111 GB, free: 0.7969 MB / 0.8575 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.001668/1.037, allocations: 1.102 MB / 1.112 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/1.038, allocations: 198.5 kB / 1.112 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/1.039, allocations: 457.6 kB / 1.112 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.039, allocations: 38.47 kB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/1.039, allocations: 0 / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0006994/1.039, allocations: 343.2 kB / 1.113 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.039, allocations: 55.36 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/1.04, allocations: 211 kB / 1.113 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/1.04, allocations: 37.69 kB / 1.113 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/1.04, allocations: 140 kB / 1.113 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/1.04, allocations: 71 kB / 1.113 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/1.04, allocations: 8 kB / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.04, allocations: 326.8 kB / 1.114 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.04, allocations: 68.22 kB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/1.04, allocations: 160.8 kB / 1.114 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/1.04, allocations: 86.72 kB / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.04, allocations: 4 kB / 1.114 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004857/1.041, allocations: 278.9 kB / 1.114 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.041, allocations: 7.953 kB / 1.114 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.041, allocations: 4 kB / 1.114 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.041, allocations: 4 kB / 1.114 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.041, allocations: 59.91 kB / 1.114 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.041, allocations: 7.938 kB / 1.114 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.041, allocations: 35.59 kB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/1.041, allocations: 16.09 kB / 1.114 GB, free: 12.82 MB / 0.8731 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.0001326/1.042, allocations: 145.8 kB / 1.114 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/1.042, allocations: 23.8 kB / 1.115 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/1.042, allocations: 276.8 kB / 1.115 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.042, allocations: 4 kB / 1.115 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.042, allocations: 0 / 1.115 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.042, allocations: 4 kB / 1.115 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/1.043, allocations: 0.5932 MB / 1.115 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.043, allocations: 0 / 1.115 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/1.043, allocations: 27.98 kB / 1.115 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.043, allocations: 4 kB / 1.115 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.043, allocations: 4 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.043, allocations: 4 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.043, allocations: 0 / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/1.044, allocations: 374.9 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.044, allocations: 124.7 kB / 1.116 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/1.044, allocations: 4 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.044, allocations: 33.56 kB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/1.044, allocations: 7.984 kB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.044, allocations: 16 kB / 1.116 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001293/1.044, allocations: 148.3 kB / 1.116 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.044, allocations: 3.938 kB / 1.116 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005066/1.045, allocations: 119.9 kB / 1.116 GB, free: 10.8 MB / 0.8731 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.001039/1.046, allocations: 1.124 MB / 1.117 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003464/1.046, allocations: 203.8 kB / 1.117 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.046, allocations: 0 / 1.117 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.047, allocations: 103.9 kB / 1.118 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/1.047, allocations: 98.48 kB / 1.118 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/1.05, allocations: 3.137 MB / 1.121 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.05, allocations: 0.7445 MB / 1.121 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003054/1.05, allocations: 58.19 kB / 1.122 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.05, allocations: 59.41 kB / 1.122 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of SimCode: time 1.974e-06/1.05, allocations: 0 / 1.122 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.07, allocations: 7.088 MB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/1.07, allocations: 171.5 kB / 1.129 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.956, allocations: 0 / 1.129 GB, free: 13.96 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat