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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 99.36 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.001668/0.001668, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.588/1.588, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.903/1.903, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001426/0.001426, allocations: 67.06 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2887, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7482/1.037, allocations: 147 MB / 0.9264 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008606/1.046, allocations: 7.024 MB / 0.9332 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/1.046, allocations: 1.344 kB / 0.9332 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/1.047, allocations: 61.34 kB / 0.9333 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005227/1.047, allocations: 122 kB / 0.9334 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004247/1.051, allocations: 0.9273 MB / 0.9343 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000676/1.052, allocations: 316 kB / 0.9346 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.67e-05/1.052, allocations: 14.14 kB / 0.9346 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/1.053, allocations: 184.1 kB / 0.9348 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/1.053, allocations: 139.6 kB / 0.9349 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/1.053, allocations: 11.44 kB / 0.935 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/1.056, allocations: 1.259 MB / 0.9362 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/1.056, allocations: 72.78 kB / 0.9363 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/1.057, allocations: 106 kB / 0.9364 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/1.059, allocations: 0.7198 MB / 0.9371 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.059, allocations: 2.719 kB / 0.9371 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.315e-06/1.059, allocations: 0 / 0.9371 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.059, allocations: 0 / 0.9371 GB, free: 5.957 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.001871/1.061, allocations: 0.5829 MB / 0.9376 GB, free: 21.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.061, allocations: 14.5 kB / 0.9376 GB, free: 21.51 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/1.062, allocations: 130.8 kB / 0.9378 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/1.063, allocations: 223.8 kB / 0.938 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.063, allocations: 14.06 kB / 0.938 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/1.063, allocations: 21.78 kB / 0.938 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/1.064, allocations: 336.9 kB / 0.9383 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.064, allocations: 1.344 kB / 0.9383 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.064, allocations: 10.56 kB / 0.9384 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/1.064, allocations: 21.72 kB / 0.9384 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/1.064, allocations: 328.6 kB / 0.9387 GB, free: 21.21 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.001823/1.066, allocations: 1.103 MB / 0.9398 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/1.067, allocations: 193.2 kB / 0.9399 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.067, allocations: 81.89 kB / 0.94 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/1.067, allocations: 459 kB / 0.9405 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.067, allocations: 41.97 kB / 0.9405 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/1.067, allocations: 3.938 kB / 0.9405 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.0006964/1.068, allocations: 266.2 kB / 0.9408 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.068, allocations: 53.84 kB / 0.9408 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/1.068, allocations: 199.6 kB / 0.941 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/1.068, allocations: 26.91 kB / 0.941 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/1.069, allocations: 149.2 kB / 0.9412 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/1.069, allocations: 75.75 kB / 0.9412 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/1.069, allocations: 62.47 kB / 0.9413 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.069, allocations: 328.4 kB / 0.9416 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/1.069, allocations: 71.41 kB / 0.9417 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/1.069, allocations: 160.5 kB / 0.9418 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/1.069, allocations: 242.4 kB / 0.9421 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.069, allocations: 0 / 0.9421 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005068/1.07, allocations: 288.2 kB / 0.9423 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.07, allocations: 7.875 kB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.07, allocations: 3.828 kB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.07, allocations: 5.859 kB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/1.07, allocations: 66.88 kB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.07, allocations: 3.797 kB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.071, allocations: 34.27 kB / 0.9425 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.071, allocations: 14.91 kB / 0.9425 GB, free: 18.87 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.0001377/1.071, allocations: 138.3 kB / 0.9426 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.071, allocations: 20.19 kB / 0.9426 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/1.071, allocations: 279 kB / 0.9429 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.071, allocations: 8.594 kB / 0.9429 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.071, allocations: 3.141 kB / 0.9429 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.071, allocations: 1.125 kB / 0.9429 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/1.072, allocations: 0.5729 MB / 0.9435 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.072, allocations: 5.188 kB / 0.9435 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/1.072, allocations: 34.72 kB / 0.9435 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.072, allocations: 0 / 0.9435 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/1.072, allocations: 9.156 kB / 0.9435 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.072, allocations: 10.27 kB / 0.9435 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.072, allocations: 0 / 0.9435 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/1.073, allocations: 353.7 kB / 0.9439 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.073, allocations: 121.4 kB / 0.944 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/1.073, allocations: 3.125 kB / 0.944 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.073, allocations: 13.95 kB / 0.944 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/1.073, allocations: 14.92 kB / 0.944 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/1.074, allocations: 12.55 kB / 0.944 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001481/1.074, allocations: 152.1 kB / 0.9442 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.62e-07/1.074, allocations: 0 / 0.9442 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005927/1.074, allocations: 111.5 kB / 0.9443 GB, free: 18.01 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.0004919/1.075, allocations: 213.4 kB / 0.9445 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004388/1.075, allocations: 223.9 kB / 0.9447 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.075, allocations: 2.75 kB / 0.9447 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/1.075, allocations: 105.5 kB / 0.9448 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/1.076, allocations: 107.5 kB / 0.9449 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/1.077, allocations: 0.5162 MB / 0.9454 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.077, allocations: 0.7347 MB / 0.9461 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003463/1.078, allocations: 55.34 kB / 0.9462 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/1.078, allocations: 24.55 kB / 0.9462 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of SimCode: time 1.714e-06/1.078, allocations: 0 / 0.9462 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.01393/1.092, allocations: 5.379 MB / 0.9514 GB, free: 16.47 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_8_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)