Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00125/0.00125, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001656/0.001655, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 252 MB / 0.5102 GB, free: 4.82 MB / 414.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.0005921/0.0005923, allocations: 12 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6214, allocations: 106.3 MB / 0.7281 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1571/0.7785, allocations: 135.3 MB / 0.8602 GB, free: 3.891 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008479/0.7871, allocations: 6.544 MB / 0.8666 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.7873, allocations: 4 kB / 0.8666 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.7877, allocations: 51.7 kB / 0.8666 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.7882, allocations: 143.2 kB / 0.8668 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.7908, allocations: 0.6286 MB / 0.8674 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000614/0.7914, allocations: 467.4 kB / 0.8678 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.7914, allocations: 9.688 kB / 0.8678 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.7919, allocations: 195.2 kB / 0.868 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.7922, allocations: 143.5 kB / 0.8682 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.7923, allocations: 8 kB / 0.8682 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.794, allocations: 0.6431 MB / 0.8688 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.7942, allocations: 79.77 kB / 0.8689 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.7942, allocations: 61.64 kB / 0.8689 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.7949, allocations: 389.2 kB / 0.8693 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7949, allocations: 0 / 0.8693 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7949, allocations: 0 / 0.8693 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7949, allocations: 4 kB / 0.8693 GB, free: 10.53 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001055/0.796, allocations: 0.5536 MB / 0.8699 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.796, allocations: 11.97 kB / 0.8699 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.7973, allocations: 139.5 kB / 0.87 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.7976, allocations: 218.8 kB / 0.8702 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.7976, allocations: 16.44 kB / 0.8702 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.7976, allocations: 20 kB / 0.8702 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.7982, allocations: 347.3 kB / 0.8706 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7983, allocations: 0 / 0.8706 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.7983, allocations: 12 kB / 0.8706 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.7983, allocations: 12.38 kB / 0.8706 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.7989, allocations: 328.8 kB / 0.8709 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.8007, allocations: 1.182 MB / 0.8721 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.8011, allocations: 186.5 kB / 0.8722 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.8013, allocations: 84.8 kB / 0.8723 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.8018, allocations: 453.5 kB / 0.8728 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.8019, allocations: 42.41 kB / 0.8728 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.8019, allocations: 4 kB / 0.8728 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.0008429/0.8028, allocations: 248.9 kB / 0.873 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.8028, allocations: 55.52 kB / 0.8731 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.8032, allocations: 226.3 kB / 0.8733 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.8032, allocations: 29.7 kB / 0.8733 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.8034, allocations: 151.9 kB / 0.8735 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.8035, allocations: 59.11 kB / 0.8735 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.8035, allocations: 4 kB / 0.8735 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.8037, allocations: 334.8 kB / 0.8739 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.8039, allocations: 68.23 kB / 0.8739 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.8042, allocations: 160.5 kB / 0.8741 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.8045, allocations: 100.5 kB / 0.8742 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8045, allocations: 4 kB / 0.8742 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008378/0.8054, allocations: 281.3 kB / 0.8744 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8054, allocations: 8 kB / 0.8745 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8054, allocations: 4 kB / 0.8745 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.8055, allocations: 8.391 kB / 0.8745 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.806, allocations: 55.92 kB / 0.8745 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.806, allocations: 11.94 kB / 0.8745 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.8063, allocations: 35.61 kB / 0.8746 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.8064, allocations: 16 kB / 0.8746 GB, free: 4.719 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001795/0.8066, allocations: 137.8 kB / 0.8747 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.8069, allocations: 31.67 kB / 0.8747 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.8076, allocations: 259.3 kB / 0.875 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.8076, allocations: 7.984 kB / 0.875 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8076, allocations: 0 / 0.875 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8076, allocations: 0 / 0.875 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.8088, allocations: 0.5749 MB / 0.8756 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8088, allocations: 4 kB / 0.8756 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.8091, allocations: 31.92 kB / 0.8756 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.8091, allocations: 4.031 kB / 0.8756 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.8092, allocations: 8 kB / 0.8756 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8092, allocations: 0 / 0.8756 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.8092, allocations: 0 / 0.8756 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.81, allocations: 336.3 kB / 0.8759 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.8103, allocations: 124.7 kB / 0.876 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.8103, allocations: 0 / 0.876 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.8107, allocations: 19.98 kB / 0.8761 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.8108, allocations: 11.98 kB / 0.8761 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.8108, allocations: 11.98 kB / 0.8761 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002201/0.811, allocations: 151.2 kB / 0.8762 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8111, allocations: 0 / 0.8762 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008558/0.8119, allocations: 115.9 kB / 0.8763 GB, free: 2.809 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * 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.0005963/0.8125, allocations: 195.1 kB / 0.8765 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006238/0.8132, allocations: 199.6 kB / 0.8767 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8132, allocations: 7.938 kB / 0.8767 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.8134, allocations: 91.89 kB / 0.8768 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.8144, allocations: 100.5 kB / 0.8769 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.8157, allocations: 0.5536 MB / 0.8774 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.8163, allocations: 0.745 MB / 0.8782 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005388/0.8168, allocations: 50.27 kB / 0.8782 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.817, allocations: 27.42 kB / 0.8782 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.817, allocations: 0 / 0.8782 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of Templates: time 0.01624/0.8332, allocations: 5.163 MB / 0.8833 GB, free: 11.69 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: