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.001328/0.001328, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 198 kB / 16.54 MB, free: 6.672 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.609/1.609, allocations: 251.7 MB / 0.5092 GB, free: 3.09 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.001496/0.001496, allocations: 67.91 kB / 0.6222 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5127, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1686/0.6814, allocations: 149.2 MB / 0.8702 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008234/0.6896, allocations: 7.068 MB / 0.8771 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.6898, allocations: 0 / 0.8771 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.6903, allocations: 71.56 kB / 0.8771 GB, free: 36 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.6909, allocations: 163.2 kB / 0.8773 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.6937, allocations: 0.991 MB / 0.8782 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.6942, allocations: 375.5 kB / 0.8786 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.6943, allocations: 9.688 kB / 0.8786 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.6947, allocations: 211.1 kB / 0.8788 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.695, allocations: 135.5 kB / 0.8789 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.695, allocations: 8 kB / 0.879 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.697, allocations: 1.2 MB / 0.8801 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.6971, allocations: 75.77 kB / 0.8802 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.6973, allocations: 115.5 kB / 0.8803 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.6984, allocations: 0.6332 MB / 0.8809 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6984, allocations: 0 / 0.8809 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6984, allocations: 7.875 kB / 0.8809 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6984, allocations: 0 / 0.8809 GB, free: 12.12 MB / 0.7012 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.001254/0.6997, allocations: 0.5968 MB / 0.8815 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.6998, allocations: 12.02 kB / 0.8815 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.7009, allocations: 136.5 kB / 0.8817 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.7012, allocations: 224 kB / 0.8819 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.7013, allocations: 16.38 kB / 0.8819 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.7013, allocations: 20 kB / 0.8819 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.7019, allocations: 343.4 kB / 0.8822 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7019, allocations: 0 / 0.8822 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.7019, allocations: 11.98 kB / 0.8822 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.702, allocations: 24.36 kB / 0.8823 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.7025, allocations: 316.9 kB / 0.8826 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.7041, allocations: 1.193 MB / 0.8837 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.7046, allocations: 190.4 kB / 0.8839 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.7048, allocations: 92.69 kB / 0.884 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/0.7053, allocations: 453.5 kB / 0.8844 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7054, allocations: 34.56 kB / 0.8845 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.7054, allocations: 0 / 0.8845 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.000722/0.7061, allocations: 254.6 kB / 0.8847 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.7061, allocations: 51.41 kB / 0.8848 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.7064, allocations: 222.5 kB / 0.885 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.7064, allocations: 25.7 kB / 0.885 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7065, allocations: 155.9 kB / 0.8851 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.7066, allocations: 74.92 kB / 0.8852 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.7067, allocations: 53.61 kB / 0.8853 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7069, allocations: 330.8 kB / 0.8856 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.707, allocations: 72.22 kB / 0.8857 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.7072, allocations: 164.5 kB / 0.8858 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.7075, allocations: 251.7 kB / 0.8861 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7075, allocations: 4 kB / 0.8861 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004905/0.708, allocations: 279.5 kB / 0.8863 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.708, allocations: 12.34 kB / 0.8863 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7081, allocations: 4 kB / 0.8863 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.7081, allocations: 11.98 kB / 0.8863 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.7084, allocations: 51.92 kB / 0.8864 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7084, allocations: 4 kB / 0.8864 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.7086, allocations: 35.59 kB / 0.8864 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.7086, allocations: 15.98 kB / 0.8865 GB, free: 6.008 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.7088, allocations: 133.8 kB / 0.8866 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.7089, allocations: 31.73 kB / 0.8866 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.7094, allocations: 267.2 kB / 0.8869 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7094, allocations: 4 kB / 0.8869 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7094, allocations: 4.094 kB / 0.8869 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.7094, allocations: 3.938 kB / 0.8869 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.7101, allocations: 0.5653 MB / 0.8874 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7101, allocations: 4 kB / 0.8874 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.7103, allocations: 27.98 kB / 0.8875 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7103, allocations: 8.016 kB / 0.8875 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.7104, allocations: 4 kB / 0.8875 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7104, allocations: 0 / 0.8875 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7104, allocations: 0 / 0.8875 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.7108, allocations: 341.2 kB / 0.8878 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.711, allocations: 120.8 kB / 0.8879 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.711, allocations: 8 kB / 0.8879 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.7113, allocations: 11.98 kB / 0.8879 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.7113, allocations: 7.984 kB / 0.8879 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.7113, allocations: 12 kB / 0.8879 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001345/0.7115, allocations: 156.5 kB / 0.8881 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7115, allocations: 0 / 0.8881 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004961/0.712, allocations: 119.8 kB / 0.8882 GB, free: 4.094 MB / 0.7012 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 (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.0004907/0.7125, allocations: 223 kB / 0.8884 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.7129, allocations: 214.6 kB / 0.8886 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7129, allocations: 0.8125 kB / 0.8886 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.7131, allocations: 103.9 kB / 0.8887 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.7137, allocations: 103.6 kB / 0.8888 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.7145, allocations: 460.7 kB / 0.8893 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.7148, allocations: 0.7409 MB / 0.89 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000283/0.7151, allocations: 54.25 kB / 0.89 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.7151, allocations: 23.44 kB / 0.8901 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of SimCode: time 2.8e-07/0.7151, allocations: 0 / 0.8901 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of Templates: time 0.009743/0.7249, allocations: 5.536 MB / 0.8955 GB, free: 12.67 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (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)