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.00114/0.00114, 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.001121/0.001121, allocations: 187.9 kB / 16.25 MB, free: 6.617 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 294.9 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8804/0.8804, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 100.5 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 86.97 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3775/0.5038, allocations: 147 MB / 0.8233 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.5071, allocations: 3.607 MB / 0.8268 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.5073, allocations: 1.062 kB / 0.8268 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.5076, allocations: 60.25 kB / 0.8268 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.5079, allocations: 121.8 kB / 0.827 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.51, allocations: 0.9508 MB / 0.8279 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.5103, allocations: 317.6 kB / 0.8282 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.5104, allocations: 17.72 kB / 0.8282 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.5107, allocations: 183.8 kB / 0.8284 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.5109, allocations: 146.3 kB / 0.8285 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.5109, allocations: 11.16 kB / 0.8285 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.5126, allocations: 1.281 MB / 0.8298 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.5127, allocations: 69.7 kB / 0.8299 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.5128, allocations: 106 kB / 0.83 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.5139, allocations: 0.7377 MB / 0.8307 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5139, allocations: 1.188 kB / 0.8307 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5139, allocations: 3.938 kB / 0.8307 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5139, allocations: 0 / 0.8307 GB, free: 15.98 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.001019/0.515, allocations: 0.5873 MB / 0.8313 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.515, allocations: 8.688 kB / 0.8313 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.5151, allocations: 57.27 kB / 0.8313 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5162, allocations: 139.7 kB / 0.8314 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5164, allocations: 221.4 kB / 0.8317 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5164, allocations: 18.41 kB / 0.8317 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5164, allocations: 18.48 kB / 0.8317 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.5169, allocations: 334.7 kB / 0.832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5169, allocations: 5.219 kB / 0.832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.517, allocations: 10.28 kB / 0.832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.517, allocations: 13.8 kB / 0.832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.5175, allocations: 321.5 kB / 0.8323 GB, free: 15.17 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.001378/0.5188, allocations: 1.111 MB / 0.8334 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.5193, allocations: 187 kB / 0.8336 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.5194, allocations: 82.27 kB / 0.8337 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004965/0.5199, allocations: 462.3 kB / 0.8341 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5199, allocations: 43.91 kB / 0.8342 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.52, allocations: 0 / 0.8342 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0005871/0.5205, allocations: 254 kB / 0.8344 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.5206, allocations: 59.64 kB / 0.8345 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.5208, allocations: 202.2 kB / 0.8347 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.5208, allocations: 27.89 kB / 0.8347 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.5209, allocations: 146.6 kB / 0.8348 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.5209, allocations: 76.31 kB / 0.8349 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.521, allocations: 56.33 kB / 0.835 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.5211, allocations: 326.2 kB / 0.8353 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5212, allocations: 71.59 kB / 0.8353 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5214, allocations: 169.3 kB / 0.8355 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.5216, allocations: 247.3 kB / 0.8357 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5217, allocations: 5.125 kB / 0.8357 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004408/0.5221, allocations: 278.9 kB / 0.836 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5221, allocations: 6.062 kB / 0.836 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5221, allocations: 2.844 kB / 0.836 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5221, allocations: 10.92 kB / 0.836 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.5224, allocations: 65.8 kB / 0.8361 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5224, allocations: 5.812 kB / 0.8361 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.5226, allocations: 33.5 kB / 0.8361 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.5227, allocations: 14.59 kB / 0.8361 GB, free: 12.77 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.0001076/0.5228, allocations: 139.1 kB / 0.8363 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5229, allocations: 24.09 kB / 0.8363 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.5233, allocations: 272.8 kB / 0.8366 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.5233, allocations: 7.219 kB / 0.8366 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5233, allocations: 0.875 kB / 0.8366 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5233, allocations: 2.625 kB / 0.8366 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.5239, allocations: 0.5903 MB / 0.8371 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.524, allocations: 3.938 kB / 0.8371 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.5241, allocations: 37.91 kB / 0.8372 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5241, allocations: 9.359 kB / 0.8372 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.5242, allocations: 3 kB / 0.8372 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5242, allocations: 4.766 kB / 0.8372 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5242, allocations: 0 / 0.8372 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.5246, allocations: 353.2 kB / 0.8375 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.5247, allocations: 122.4 kB / 0.8376 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.5248, allocations: 7.609 kB / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.525, allocations: 17.22 kB / 0.8377 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.525, allocations: 11 kB / 0.8377 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.5251, allocations: 13.34 kB / 0.8377 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001094/0.5252, allocations: 151.5 kB / 0.8378 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5252, allocations: 1.062 kB / 0.8378 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004289/0.5256, allocations: 112.8 kB / 0.8379 GB, free: 11.88 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.0009124/0.5266, allocations: 0.9967 MB / 0.8389 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.5269, allocations: 223.4 kB / 0.8391 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5269, allocations: 0 / 0.8391 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.527, allocations: 103.2 kB / 0.8392 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.5276, allocations: 100.2 kB / 0.8393 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.53, allocations: 2.555 MB / 0.8418 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5302, allocations: 0.7383 MB / 0.8425 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.5305, allocations: 59.75 kB / 0.8426 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.283e-05/0.5306, allocations: 59.53 kB / 0.8427 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5306, allocations: 0 / 0.8427 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4789/1.01, allocations: 7.589 MB / 0.8501 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.01, allocations: 196.9 kB / 0.8503 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/3.092, allocations: 7.562 kB / 0.8503 GB, free: 4.945 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)