Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 184.5 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 95.14 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 56.11 kB / 0.8703 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2509, allocations: 114.6 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.005062/0.256, allocations: 3.464 MB / 0.9856 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2585, allocations: 1.244 MB / 0.9868 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.259, allocations: 11.94 kB / 0.9868 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.2594, allocations: 63.38 kB / 0.9869 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.2601, allocations: 135.2 kB / 0.987 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.2609, allocations: 395.6 kB / 0.9874 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009579/0.2619, allocations: 0.8516 MB / 0.9882 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.2624, allocations: 370.3 kB / 0.9886 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.2627, allocations: 318.6 kB / 0.9889 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02351/0.2863, allocations: 1.641 MB / 0.9905 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.2865, allocations: 48 kB / 0.9905 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2867, allocations: 67.98 kB / 0.9906 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2869, allocations: 159.3 kB / 0.9907 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.2872, allocations: 357.8 kB / 0.9911 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.2882, allocations: 1.121 MB / 0.9922 GB, free: 460 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2882, allocations: 0 / 0.9922 GB, free: 460 kB / 0.7136 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2882, allocations: 4 kB / 0.9922 GB, free: 456 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2882, allocations: 0 / 0.9922 GB, free: 456 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001931/0.2902, allocations: 1.182 MB / 0.9933 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2902, allocations: 8.031 kB / 0.9934 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2904, allocations: 87.91 kB / 0.9934 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.2912, allocations: 0.5648 MB / 0.994 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.2912, allocations: 53.31 kB / 0.994 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.2913, allocations: 75.98 kB / 0.9941 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2924, allocations: 0.5961 MB / 0.9947 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2924, allocations: 0 / 0.9947 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.2925, allocations: 24 kB / 0.9947 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2925, allocations: 20 kB / 0.9947 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.2937, allocations: 0.5478 MB / 0.9953 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.2964, allocations: 1.711 MB / 0.9969 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2975, allocations: 0.4892 MB / 0.9974 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.2979, allocations: 234.1 kB / 0.9976 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.298, allocations: 21.19 kB / 0.9977 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.2986, allocations: 287 kB / 0.9979 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 1.763e-06/0.2986, allocations: 0 / 0.9979 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001496/0.3001, allocations: 0.6893 MB / 0.9986 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3002, allocations: 63.95 kB / 0.9987 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.3007, allocations: 0.5265 MB / 0.9992 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.3008, allocations: 49.69 kB / 0.9992 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3011, allocations: 344.2 kB / 0.9996 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3012, allocations: 177.4 kB / 0.9997 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.3014, allocations: 138.1 kB / 0.9999 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3016, allocations: 374.8 kB / 1 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.302, allocations: 199.4 kB / 1 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.3027, allocations: 399.4 kB / 1.001 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.3037, allocations: 0.5386 MB / 1.001 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3037, allocations: 0 / 1.001 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001167/0.3048, allocations: 0.6317 MB / 1.002 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3049, allocations: 8 kB / 1.002 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3049, allocations: 7.938 kB / 1.002 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3049, allocations: 8.562 kB / 1.002 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.3054, allocations: 139.8 kB / 1.002 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3054, allocations: 8 kB / 1.002 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.3059, allocations: 91.17 kB / 1.002 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3059, allocations: 28 kB / 1.002 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005124/0.3065, allocations: 325.3 kB / 1.003 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005717/0.307, allocations: 386.4 kB / 1.003 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007955/0.3078, allocations: 0.5113 MB / 1.003 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.3079, allocations: 0 / 1.003 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.001001/0.3089, allocations: 0.6048 MB / 1.004 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3089, allocations: 8 kB / 1.004 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3089, allocations: 4 kB / 1.004 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.3089, allocations: 11.94 kB / 1.004 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.3095, allocations: 135.7 kB / 1.004 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3095, allocations: 8 kB / 1.004 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.31, allocations: 63.56 kB / 1.004 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.31, allocations: 31.98 kB / 1.004 GB, free: 3.586 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 (scaYFan.sampleTrigger,scaYFan.tActivateLast,$PRE.scaYFan.tActivateLast,scaYFan.active,scaTem.sampleTrigger,scaTem.tActivateLast,$PRE.scaTem.tActivateLast,scaTem.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000155/0.3102, allocations: 228 kB / 1.004 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.3103, allocations: 67.16 kB / 1.005 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3115, allocations: 0.6033 MB / 1.005 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3115, allocations: 8 kB / 1.005 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3115, allocations: 0 / 1.005 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3115, allocations: 3.984 kB / 1.005 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.314, allocations: 1.633 MB / 1.007 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.314, allocations: 4 kB / 1.007 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.3144, allocations: 115.8 kB / 1.007 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3144, allocations: 4 kB / 1.007 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3145, allocations: 20 kB / 1.007 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.3145, allocations: 15.92 kB / 1.007 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3145, allocations: 7.938 kB / 1.007 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.3164, allocations: 1.691 MB / 1.009 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3166, allocations: 192.1 kB / 1.009 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.3167, allocations: 16 kB / 1.009 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3171, allocations: 43.89 kB / 1.009 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3172, allocations: 71.73 kB / 1.009 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3172, allocations: 27.98 kB / 1.009 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003749/0.3176, allocations: 370.8 kB / 1.009 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3176, allocations: 0 / 1.009 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008764/0.3185, allocations: 243.2 kB / 1.009 GB, free: 13.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003665/0.3189, allocations: 193.7 kB / 1.01 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.3204, allocations: 0.7817 MB / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3204, allocations: 5.5 kB / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.321, allocations: 296.1 kB / 1.011 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.3217, allocations: 111 kB / 1.011 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.324, allocations: 1.869 MB / 1.013 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3245, allocations: 0.928 MB / 1.014 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.3249, allocations: 117.1 kB / 1.014 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3251, allocations: 59.42 kB / 1.014 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.3252, allocations: 4 kB / 1.014 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.01228/0.3374, allocations: 7.109 MB / 1.021 GB, free: 2.414 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)