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.0009505/0.0009504, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007877/0.007877, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 270.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.883/0.883, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 11.25 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 88.54 MB / 0.6852 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4325/0.5721, allocations: 144.9 MB / 0.8268 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003583/0.5758, allocations: 3.626 MB / 0.8303 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.5759, allocations: 1.125 kB / 0.8303 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.5762, allocations: 60.44 kB / 0.8304 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.5764, allocations: 123.1 kB / 0.8305 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.5785, allocations: 0.9373 MB / 0.8314 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.5789, allocations: 0.4925 MB / 0.8319 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.579, allocations: 16.97 kB / 0.8319 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.5794, allocations: 174.8 kB / 0.8321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.5795, allocations: 136.1 kB / 0.8322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.5796, allocations: 7.625 kB / 0.8322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.5816, allocations: 1.536 MB / 0.8337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.5817, allocations: 70.22 kB / 0.8338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.5818, allocations: 132.4 kB / 0.8339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.5829, allocations: 0.7382 MB / 0.8346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5829, allocations: 0 / 0.8346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5829, allocations: 1 kB / 0.8346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5829, allocations: 0 / 0.8346 GB, free: 11.52 MB / 0.5606 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.0009391/0.5839, allocations: 0.5443 MB / 0.8351 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5839, allocations: 9.781 kB / 0.8352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.584, allocations: 60.16 kB / 0.8352 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.585, allocations: 128.9 kB / 0.8353 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.5853, allocations: 229.4 kB / 0.8356 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5853, allocations: 22.14 kB / 0.8356 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5853, allocations: 15.78 kB / 0.8356 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.5858, allocations: 338.8 kB / 0.8359 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5858, allocations: 0 / 0.8359 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.5858, allocations: 12.03 kB / 0.8359 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.5859, allocations: 17.45 kB / 0.8359 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.5863, allocations: 319.5 kB / 0.8362 GB, free: 10.5 MB / 0.5606 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.001354/0.5877, allocations: 1.114 MB / 0.8373 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.5881, allocations: 180.1 kB / 0.8375 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5882, allocations: 81 kB / 0.8376 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/0.5887, allocations: 463.9 kB / 0.838 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5887, allocations: 44.44 kB / 0.8381 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.5887, allocations: 3.938 kB / 0.8381 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0005598/0.5893, allocations: 265.4 kB / 0.8383 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5893, allocations: 51.41 kB / 0.8384 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5895, allocations: 201.7 kB / 0.8386 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.5895, allocations: 32.08 kB / 0.8386 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.5896, allocations: 148.1 kB / 0.8387 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.5897, allocations: 68.95 kB / 0.8388 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5897, allocations: 33.33 kB / 0.8388 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.5898, allocations: 328.2 kB / 0.8392 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.59, allocations: 67.28 kB / 0.8392 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.5901, allocations: 171.8 kB / 0.8394 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.5904, allocations: 247.4 kB / 0.8396 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5904, allocations: 0 / 0.8396 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004534/0.5909, allocations: 284.6 kB / 0.8399 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5909, allocations: 2.812 kB / 0.8399 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5909, allocations: 3.25 kB / 0.8399 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5909, allocations: 10.14 kB / 0.8399 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.5912, allocations: 65.94 kB / 0.84 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5912, allocations: 3.375 kB / 0.84 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5914, allocations: 33.78 kB / 0.84 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.5914, allocations: 11.81 kB / 0.84 GB, free: 7.676 MB / 0.5606 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.0001149/0.5915, allocations: 136.8 kB / 0.8401 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5917, allocations: 24.22 kB / 0.8402 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.5921, allocations: 288.3 kB / 0.8404 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5921, allocations: 3.938 kB / 0.8404 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5921, allocations: 4 kB / 0.8404 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5921, allocations: 3.984 kB / 0.8405 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.5928, allocations: 0.5836 MB / 0.841 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5928, allocations: 1.656 kB / 0.841 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.593, allocations: 38.3 kB / 0.8411 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.593, allocations: 2.281 kB / 0.8411 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.593, allocations: 2.812 kB / 0.8411 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.593, allocations: 3.984 kB / 0.8411 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.593, allocations: 5.219 kB / 0.8411 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.5935, allocations: 347.6 kB / 0.8414 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5936, allocations: 121.1 kB / 0.8415 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.5936, allocations: 6.5 kB / 0.8415 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.5939, allocations: 24.58 kB / 0.8415 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.5939, allocations: 22.33 kB / 0.8416 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.5939, allocations: 9.125 kB / 0.8416 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001129/0.5941, allocations: 156.8 kB / 0.8417 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5941, allocations: 0 / 0.8417 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004453/0.5945, allocations: 117.9 kB / 0.8418 GB, free: 6.332 MB / 0.5606 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.000923/0.5955, allocations: 0.9806 MB / 0.8428 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.5958, allocations: 202.6 kB / 0.843 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5958, allocations: 0 / 0.843 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5959, allocations: 104.4 kB / 0.8431 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.5965, allocations: 98.5 kB / 0.8432 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.599, allocations: 2.6 MB / 0.8457 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.5993, allocations: 0.7462 MB / 0.8465 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.5995, allocations: 61.78 kB / 0.8465 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5996, allocations: 53.55 kB / 0.8466 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5997, allocations: 0 / 0.8466 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.6161, allocations: 7.314 MB / 0.8537 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.6163, allocations: 197.8 kB / 0.8539 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.367, allocations: 0 / 0.8539 GB, free: 14.66 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)