Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.001003/0.001003, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001046/0.001046, allocations: 195.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.00205, allocations: 278.8 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8678/0.8678, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 93.5 kB / 0.5946 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 86.97 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3946/0.5229, allocations: 146.8 MB / 0.8229 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.5263, allocations: 3.676 MB / 0.8265 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.5264, allocations: 0.625 kB / 0.8265 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.5267, allocations: 60.33 kB / 0.8266 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.5269, allocations: 129.7 kB / 0.8267 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.5286, allocations: 0.9346 MB / 0.8276 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.529, allocations: 496.3 kB / 0.8281 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.5291, allocations: 20.45 kB / 0.8281 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.5294, allocations: 172 kB / 0.8283 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.5295, allocations: 144.4 kB / 0.8284 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.5296, allocations: 8.219 kB / 0.8284 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.5315, allocations: 1.533 MB / 0.8299 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.5316, allocations: 74.03 kB / 0.83 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.5317, allocations: 103.6 kB / 0.8301 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5328, allocations: 0.7372 MB / 0.8308 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5328, allocations: 0 / 0.8308 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5328, allocations: 0 / 0.8308 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5328, allocations: 0 / 0.8308 GB, free: 15.97 MB / 0.5762 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.00105/0.5339, allocations: 0.5939 MB / 0.8314 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5339, allocations: 10.06 kB / 0.8314 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.534, allocations: 53.92 kB / 0.8314 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.5351, allocations: 136.5 kB / 0.8316 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.5354, allocations: 226.1 kB / 0.8318 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5354, allocations: 16.09 kB / 0.8318 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.5354, allocations: 18.53 kB / 0.8318 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.5359, allocations: 334.5 kB / 0.8321 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5359, allocations: 5.375 kB / 0.8321 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.536, allocations: 12.84 kB / 0.8321 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.536, allocations: 15.31 kB / 0.8322 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.5365, allocations: 324 kB / 0.8325 GB, free: 15.16 MB / 0.5762 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.001433/0.5379, allocations: 1.11 MB / 0.8335 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.5384, allocations: 188.7 kB / 0.8337 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.5385, allocations: 86.02 kB / 0.8338 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.539, allocations: 462.9 kB / 0.8343 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.5391, allocations: 35.12 kB / 0.8343 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.5391, allocations: 1.438 kB / 0.8343 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0006132/0.5397, allocations: 255.1 kB / 0.8345 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.5397, allocations: 53.66 kB / 0.8346 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5399, allocations: 205.2 kB / 0.8348 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.54, allocations: 35.39 kB / 0.8348 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.54, allocations: 144.6 kB / 0.8349 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.5401, allocations: 74.95 kB / 0.835 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.5402, allocations: 55.41 kB / 0.8351 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.5403, allocations: 326.9 kB / 0.8354 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.5404, allocations: 74.8 kB / 0.8355 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5406, allocations: 160.4 kB / 0.8356 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.5409, allocations: 257.3 kB / 0.8359 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5409, allocations: 0 / 0.8359 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004704/0.5414, allocations: 276.8 kB / 0.8361 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5414, allocations: 8.75 kB / 0.8361 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5414, allocations: 6.672 kB / 0.8361 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5414, allocations: 9.719 kB / 0.8361 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5417, allocations: 61.8 kB / 0.8362 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.5417, allocations: 9.25 kB / 0.8362 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.5419, allocations: 36.64 kB / 0.8362 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.542, allocations: 11.34 kB / 0.8363 GB, free: 12.7 MB / 0.5762 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.0001099/0.5421, allocations: 136.2 kB / 0.8364 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5422, allocations: 25.39 kB / 0.8364 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.5427, allocations: 279.9 kB / 0.8367 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.5427, allocations: 5.5 kB / 0.8367 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5427, allocations: 1.578 kB / 0.8367 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.5427, allocations: 3.938 kB / 0.8367 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.5434, allocations: 0.5903 MB / 0.8373 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5434, allocations: 3.938 kB / 0.8373 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.5436, allocations: 33.36 kB / 0.8373 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5436, allocations: 1.594 kB / 0.8373 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5436, allocations: 6.531 kB / 0.8373 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5436, allocations: 1.562 kB / 0.8373 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5436, allocations: 0 / 0.8373 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.5441, allocations: 356.9 kB / 0.8376 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5442, allocations: 115.5 kB / 0.8378 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.5442, allocations: 6.734 kB / 0.8378 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.5445, allocations: 10.75 kB / 0.8378 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.5445, allocations: 18.36 kB / 0.8378 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.5446, allocations: 17.92 kB / 0.8378 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001099/0.5447, allocations: 153.5 kB / 0.838 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5447, allocations: 0 / 0.838 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004714/0.5452, allocations: 118.7 kB / 0.8381 GB, free: 11.62 MB / 0.5762 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.001006/0.5462, allocations: 0.9938 MB / 0.839 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5465, allocations: 212.8 kB / 0.8392 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5465, allocations: 1.469 kB / 0.8392 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5467, allocations: 99.27 kB / 0.8393 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.5473, allocations: 96.83 kB / 0.8394 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.5503, allocations: 2.556 MB / 0.8419 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5506, allocations: 0.7352 MB / 0.8426 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.5509, allocations: 59.31 kB / 0.8427 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.551, allocations: 57.67 kB / 0.8428 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.551, allocations: 0 / 0.8428 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.783/3.334, allocations: 7.404 MB / 0.85 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/3.334, allocations: 198.5 kB / 0.8502 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/5.083, allocations: 4 kB / 0.8502 GB, free: 4.301 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)