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.005534/0.005534, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001098/0.001098, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.001537/0.001537, allocations: 68.47 kB / 0.7258 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 104.7 MB / 0.8281 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8946/1.168, allocations: 149.1 MB / 0.9737 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009305/1.177, allocations: 7.081 MB / 0.9806 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/1.178, allocations: 1.062 kB / 0.9806 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004738/1.178, allocations: 67.91 kB / 0.9807 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004896/1.179, allocations: 163.9 kB / 0.9809 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/1.182, allocations: 0.9908 MB / 0.9818 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/1.182, allocations: 374.5 kB / 0.9822 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/1.183, allocations: 14.72 kB / 0.9822 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/1.183, allocations: 213.6 kB / 0.9824 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/1.183, allocations: 135.6 kB / 0.9825 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/1.183, allocations: 11.84 kB / 0.9825 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/1.186, allocations: 1.198 MB / 0.9837 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/1.186, allocations: 79.98 kB / 0.9838 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/1.186, allocations: 115.9 kB / 0.9839 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/1.187, allocations: 0.6424 MB / 0.9845 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.188, allocations: 1.375 kB / 0.9845 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/1.188, allocations: 0 / 0.9845 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.188, allocations: 0 / 0.9845 GB, free: 1.902 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00127/1.189, allocations: 0.6072 MB / 0.9851 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.189, allocations: 8.906 kB / 0.9851 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.19, allocations: 138 kB / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/1.19, allocations: 213.7 kB / 0.9855 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/1.19, allocations: 23.97 kB / 0.9855 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/1.19, allocations: 20.34 kB / 0.9855 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/1.191, allocations: 339.2 kB / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.191, allocations: 1.781 kB / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/1.191, allocations: 15.55 kB / 0.9858 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/1.191, allocations: 13.69 kB / 0.9859 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/1.192, allocations: 330.9 kB / 0.9862 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/1.194, allocations: 1.188 MB / 0.9873 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/1.194, allocations: 195.4 kB / 0.9875 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.194, allocations: 77.56 kB / 0.9876 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/1.195, allocations: 459.8 kB / 0.988 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.195, allocations: 32.88 kB / 0.9881 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/1.195, allocations: 4 kB / 0.9881 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0007482/1.196, allocations: 250.4 kB / 0.9883 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.196, allocations: 62.08 kB / 0.9884 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/1.196, allocations: 214.2 kB / 0.9886 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.196, allocations: 29.7 kB / 0.9886 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/1.196, allocations: 150.7 kB / 0.9887 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/1.196, allocations: 75.52 kB / 0.9888 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/1.197, allocations: 54.22 kB / 0.9889 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.197, allocations: 331.9 kB / 0.9892 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/1.197, allocations: 70.88 kB / 0.9892 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.197, allocations: 158.7 kB / 0.9894 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/1.197, allocations: 256.1 kB / 0.9896 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.197, allocations: 2.531 kB / 0.9896 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005023/1.198, allocations: 289 kB / 0.9899 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.198, allocations: 11.34 kB / 0.9899 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.198, allocations: 2.844 kB / 0.9899 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.198, allocations: 5.469 kB / 0.9899 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/1.198, allocations: 56.33 kB / 0.99 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.198, allocations: 13.64 kB / 0.99 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/1.198, allocations: 34.91 kB / 0.99 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.198, allocations: 9.75 kB / 0.9901 GB, free: 13.59 MB / 0.7481 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.0001323/1.199, allocations: 136.8 kB / 0.9902 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.199, allocations: 40.53 kB / 0.9902 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/1.199, allocations: 267.5 kB / 0.9905 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.199, allocations: 2.562 kB / 0.9905 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.199, allocations: 0 / 0.9905 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.199, allocations: 0 / 0.9905 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/1.2, allocations: 0.5685 MB / 0.991 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.2, allocations: 0 / 0.991 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.2, allocations: 31.7 kB / 0.9911 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.2, allocations: 2.688 kB / 0.9911 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/1.2, allocations: 11.09 kB / 0.9911 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.2, allocations: 0 / 0.9911 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.2, allocations: 0 / 0.9911 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/1.201, allocations: 339.9 kB / 0.9914 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.201, allocations: 116.5 kB / 0.9915 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.201, allocations: 6.156 kB / 0.9915 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.201, allocations: 9.203 kB / 0.9915 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.201, allocations: 17.27 kB / 0.9915 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/1.201, allocations: 8.188 kB / 0.9916 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001468/1.201, allocations: 161.1 kB / 0.9917 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.593e-06/1.201, allocations: 4 kB / 0.9917 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006007/1.202, allocations: 127.5 kB / 0.9918 GB, free: 12.29 MB / 0.7481 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.0004373/1.202, allocations: 206.8 kB / 0.992 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003898/1.203, allocations: 219.4 kB / 0.9922 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.203, allocations: 2.906 kB / 0.9922 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/1.203, allocations: 98.53 kB / 0.9923 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/1.204, allocations: 89.84 kB / 0.9924 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/1.204, allocations: 462.5 kB / 0.9929 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/1.205, allocations: 0.7479 MB / 0.9936 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002185/1.205, allocations: 55.25 kB / 0.9936 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/1.205, allocations: 22.41 kB / 0.9937 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/1.205, allocations: 0 / 0.9937 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.0108/1.216, allocations: 5.579 MB / 0.9991 GB, free: 8.125 MB / 0.7481 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)