Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 188.9 kB / 498.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.78/1.78, allocations: 223.2 MB / 0.7948 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009152, allocations: 102.8 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 9.625 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 142.4 MB / 1.223 GB, free: 89.63 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.5545, allocations: 155.2 MB / 1.374 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5549, allocations: 83.95 kB / 1.375 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03653/0.5914, allocations: 14.03 MB / 1.388 GB, free: 36 kB / 0.8855 GB Notification: Performance of FrontEnd: time 3.406e-06/0.5915, allocations: 3.938 kB / 1.388 GB, free: 32 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.226e-05/0.5915, allocations: 20 kB / 1.388 GB, free: 12 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002146/0.5937, allocations: 1.063 MB / 1.389 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5937, allocations: 8.031 kB / 1.389 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.5939, allocations: 86.97 kB / 1.389 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.5948, allocations: 492.5 kB / 1.39 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.5948, allocations: 58 kB / 1.39 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5949, allocations: 68 kB / 1.39 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.5962, allocations: 0.6516 MB / 1.391 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5962, allocations: 0 / 1.391 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.5963, allocations: 35.95 kB / 1.391 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.5963, allocations: 16 kB / 1.391 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.5976, allocations: 0.6208 MB / 1.391 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.6015, allocations: 1.988 MB / 1.393 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.6033, allocations: 0.5953 MB / 1.394 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.6034, allocations: 13.56 kB / 1.394 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009415/0.6043, allocations: 415 kB / 1.394 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=60): time 5.17e-06/0.6044, allocations: 0 / 1.394 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60): time 0.002297/0.6067, allocations: 0.7793 MB / 1.395 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.6068, allocations: 243.9 kB / 1.395 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.6078, allocations: 0.5061 MB / 1.396 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.576e-05/0.6079, allocations: 41.7 kB / 1.396 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.6083, allocations: 301 kB / 1.396 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.6085, allocations: 181.3 kB / 1.396 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.6086, allocations: 12 kB / 1.396 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.6088, allocations: 382.8 kB / 1.397 GB, free: 7.195 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.6095, allocations: 225 kB / 1.397 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6106, allocations: 401.3 kB / 1.397 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.6114, allocations: 256.2 kB / 1.397 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6115, allocations: 0 / 1.397 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002063/0.6135, allocations: 0.6476 MB / 1.398 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.6138, allocations: 454.6 kB / 1.398 GB, free: 5.148 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6138, allocations: 0 / 1.398 GB, free: 5.148 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.6139, allocations: 7.953 kB / 1.398 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.6147, allocations: 127.9 kB / 1.399 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.6147, allocations: 11.92 kB / 1.399 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.6157, allocations: 143.2 kB / 1.399 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.6158, allocations: 19.98 kB / 1.399 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6158, allocations: 4 kB / 1.399 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/0.6173, allocations: 0.4983 MB / 1.399 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6173, allocations: 4 kB / 1.399 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6174, allocations: 4.094 kB / 1.399 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6181, allocations: 119.8 kB / 1.399 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6181, allocations: 4 kB / 1.399 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008954/0.619, allocations: 123.2 kB / 1.4 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.6191, allocations: 16 kB / 1.4 GB, free: 4.078 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006573/0.6198, allocations: 288.8 kB / 1.4 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.6199, allocations: 67.16 kB / 1.4 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.6217, allocations: 0.6699 MB / 1.401 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6217, allocations: 8 kB / 1.401 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6217, allocations: 0 / 1.401 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6218, allocations: 3.984 kB / 1.401 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.626, allocations: 1.82 MB / 1.402 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.626, allocations: 8.688 kB / 1.402 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.6267, allocations: 123.8 kB / 1.402 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.6267, allocations: 11.98 kB / 1.402 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.6268, allocations: 16 kB / 1.402 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.6268, allocations: 8 kB / 1.402 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.6268, allocations: 15.94 kB / 1.402 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6959/1.323, allocations: 1.124 MB / 1.404 GB, free: 169.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/1.323, allocations: 220.3 kB / 1.404 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/1.323, allocations: 19.53 kB / 1.404 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/1.324, allocations: 80.11 kB / 1.404 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.324, allocations: 66.78 kB / 1.404 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/1.324, allocations: 28.3 kB / 1.404 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000614/1.325, allocations: 406 kB / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.3e-07/1.325, allocations: 0 / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009283/1.325, allocations: 255.1 kB / 1.405 GB, free: 169.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004434/1.326, allocations: 207.1 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001936/1.328, allocations: 0.8238 MB / 1.406 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.328, allocations: 1.188 kB / 1.406 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/1.329, allocations: 342.6 kB / 1.406 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/1.329, allocations: 105.5 kB / 1.406 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/1.331, allocations: 1.449 MB / 1.407 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.332, allocations: 0.9237 MB / 1.408 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004889/1.333, allocations: 100.2 kB / 1.408 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/1.333, allocations: 61.72 kB / 1.409 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.293e-06/1.333, allocations: 3.656 kB / 1.409 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.02072/1.354, allocations: 7.475 MB / 1.416 GB, free: 167.5 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)