Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.roo45.vavACH.y|roo.roo46.vavACH.y|roo.roo47.vavACH.y|roo.roo48.vavACH.y|roo.roo49.vavACH.y|roo.roo50.vavACH.y|fan32.m_flow|fan56.m_flow|fan32.dp|fan56.dp|roo.roo45.volFraCO2.V|roo.roo46.volFraCO2.V|roo.roo47.volFraCO2.V|roo.roo48.volFraCO2.V|roo.roo49.volFraCO2.V|roo.roo50.volFraCO2.V|roo.roo45.con.CO2Set|roo.roo45.vol.C.1.|roo.roo46.vol.C.1.|roo.roo47.vol.C.1.|roo.roo48.vol.C.1.|roo.roo49.vol.C.1.|roo.roo50.vol.C.1.|roo.roo45.ple.C.1.|roo.roo46.ple.C.1.|roo.roo47.ple.C.1.|roo.roo48.ple.C.1.|roo.roo49.ple.C.1.|roo.roo50.ple.C.1.",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.roo45.vavACH.y|roo.roo46.vavACH.y|roo.roo47.vavACH.y|roo.roo48.vavACH.y|roo.roo49.vavACH.y|roo.roo50.vavACH.y|fan32.m_flow|fan56.m_flow|fan32.dp|fan56.dp|roo.roo45.volFraCO2.V|roo.roo46.volFraCO2.V|roo.roo47.volFraCO2.V|roo.roo48.volFraCO2.V|roo.roo49.volFraCO2.V|roo.roo50.volFraCO2.V|roo.roo45.con.CO2Set|roo.roo45.vol.C.1.|roo.roo46.vol.C.1.|roo.roo47.vol.C.1.|roo.roo48.vol.C.1.|roo.roo49.vol.C.1.|roo.roo50.vol.C.1.|roo.roo45.ple.C.1.|roo.roo46.ple.C.1.|roo.roo47.ple.C.1.|roo.roo48.ple.C.1.|roo.roo49.ple.C.1.|roo.roo50.ple.C.1.",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 110.3 kB / 16.41 MB, free: 5.984 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.00158/0.00158, allocations: 194.1 kB / 17.35 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.89 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.038, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 3.7/4.738, allocations: 1.243 GB / 2.469 GB, free: 72.38 MB / 1.67 GB Notification: Performance of NFInst.instExpressions: time 0.1975/4.936, allocations: 123.9 MB / 2.59 GB, free: 43.41 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04137/4.977, allocations: 0.756 MB / 2.591 GB, free: 43.41 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03099/5.008, allocations: 11.55 MB / 2.602 GB, free: 35.54 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07171/5.08, allocations: 27.42 MB / 2.629 GB, free: 12.01 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04867/5.129, allocations: 16.44 MB / 2.645 GB, free: 13.31 MB / 1.686 GB Notification: Performance of NFFlatten.flatten: time 0.1006/5.229, allocations: 58.21 MB / 2.702 GB, free: 5.004 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06335/5.293, allocations: 22.56 MB / 2.724 GB, free: 14.75 MB / 1.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07755/5.37, allocations: 25.63 MB / 2.749 GB, free: 6.848 MB / 1.779 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03962/5.41, allocations: 16.43 MB / 2.765 GB, free: 7.582 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01576/5.426, allocations: 2.984 MB / 2.768 GB, free: 4.598 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06155/5.487, allocations: 17.94 MB / 2.785 GB, free: 4.688 MB / 1.811 GB Notification: Performance of NFScalarize.scalarize: time 0.02262/5.51, allocations: 9.174 MB / 2.794 GB, free: 11.65 MB / 1.826 GB Notification: Performance of NFVerifyModel.verify: time 0.04558/5.556, allocations: 13.15 MB / 2.807 GB, free: 14.6 MB / 1.842 GB Notification: Performance of NFConvertDAE.convert: time 0.1116/5.667, allocations: 43.58 MB / 2.85 GB, free: 4.285 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/5.667, allocations: 3.984 kB / 2.85 GB, free: 4.281 MB / 1.873 GB Notification: Performance of FrontEnd: time 2.775e-06/5.668, allocations: 3.938 kB / 2.85 GB, free: 4.277 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001733/5.669, allocations: 0 / 2.85 GB, free: 4.277 MB / 1.873 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3094 * Number of variables: 3094 Notification: Performance of Generate backend data structure: time 0.09906/5.768, allocations: 23.99 MB / 2.873 GB, free: 12.27 MB / 1.904 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/5.768, allocations: 12.03 kB / 2.873 GB, free: 12.26 MB / 1.904 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0344/5.803, allocations: 4.489 MB / 2.877 GB, free: 7.773 MB / 1.904 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05937/5.862, allocations: 18.75 MB / 2.896 GB, free: 5.293 MB / 1.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001473/5.864, allocations: 0.9483 MB / 2.897 GB, free: 4.344 MB / 1.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007501/5.871, allocations: 1.287 MB / 2.898 GB, free: 3.062 MB / 1.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0601/5.931, allocations: 17.52 MB / 2.915 GB, free: 1.32 MB / 1.936 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006387/5.932, allocations: 19.89 kB / 2.915 GB, free: 1.301 MB / 1.936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00574/5.938, allocations: 0.4936 MB / 2.916 GB, free: 0.8125 MB / 1.936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005492/5.938, allocations: 479.8 kB / 2.916 GB, free: 352 kB / 1.936 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0479/5.986, allocations: 16.24 MB / 2.932 GB, free: 100 kB / 1.951 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.868/7.854, allocations: 84.91 MB / 3.015 GB, free: 0.8902 GB / 1.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02566/7.88, allocations: 10.6 MB / 3.025 GB, free: 0.8853 GB / 1.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0154/7.895, allocations: 6.985 MB / 3.032 GB, free: 0.8817 GB / 1.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/7.897, allocations: 329.8 kB / 3.032 GB, free: 0.8815 GB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01976/7.917, allocations: 7.223 MB / 3.039 GB, free: 0.8773 GB / 1.967 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01658/7.933, allocations: 1.877 MB / 3.041 GB, free: 0.8768 GB / 1.967 GB Notification: Performance of pre-optimization done (n=880): time 7.436e-05/7.933, allocations: 0 / 3.041 GB, free: 0.8768 GB / 1.967 GB Notification: Performance of matching and sorting (n=880): time 0.1232/8.057, allocations: 31.26 MB / 3.072 GB, free: 0.8607 GB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/8.057, allocations: 171.9 kB / 3.072 GB, free: 0.8606 GB / 1.967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04278/8.1, allocations: 14.8 MB / 3.086 GB, free: 0.8472 GB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.003602/8.103, allocations: 233.7 kB / 3.087 GB, free: 0.8469 GB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01235/8.116, allocations: 8.107 MB / 3.094 GB, free: 0.8396 GB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.006925/8.123, allocations: 3.202 MB / 3.098 GB, free: 0.8369 GB / 1.967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01241/8.135, allocations: 2.176 MB / 3.1 GB, free: 0.8348 GB / 1.967 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/8.135, allocations: 305.1 kB / 3.1 GB, free: 0.8345 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/8.149, allocations: 6.116 MB / 3.106 GB, free: 0.8285 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01775/8.167, allocations: 8.953 MB / 3.115 GB, free: 0.8188 GB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0303/8.197, allocations: 14.44 MB / 3.129 GB, free: 0.8042 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/8.197, allocations: 12 kB / 3.129 GB, free: 0.8042 GB / 1.967 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.07594/8.273, allocations: 21.14 MB / 3.149 GB, free: 0.7836 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/8.273, allocations: 20 kB / 3.149 GB, free: 0.7836 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.482e-05/8.273, allocations: 39.94 kB / 3.15 GB, free: 0.7836 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/8.298, allocations: 5.422 MB / 3.155 GB, free: 0.7784 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/8.31, allocations: 2.045 MB / 3.157 GB, free: 0.7764 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05018/8.36, allocations: 33.77 MB / 3.19 GB, free: 0.7423 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02168/8.382, allocations: 0.6881 MB / 3.19 GB, free: 0.7417 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003831/8.386, allocations: 0.4996 MB / 3.191 GB, free: 0.7412 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02815/8.414, allocations: 9.882 MB / 3.201 GB, free: 0.7315 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0155/8.43, allocations: 8.64 MB / 3.209 GB, free: 0.722 GB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02546/8.455, allocations: 13.85 MB / 3.223 GB, free: 0.7079 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.511e-05/8.455, allocations: 8 kB / 3.223 GB, free: 0.7079 GB / 1.967 GB Notification: Performance of matching and sorting (n=1266) (initialization_lambda0): time 0.06416/8.52, allocations: 20.07 MB / 3.242 GB, free: 0.6882 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/8.52, allocations: 22.03 kB / 3.242 GB, free: 0.6882 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.849e-05/8.52, allocations: 40 kB / 3.242 GB, free: 0.6882 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02101/8.541, allocations: 4.826 MB / 3.247 GB, free: 0.6834 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/8.551, allocations: 1.935 MB / 3.249 GB, free: 0.6815 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05156/8.603, allocations: 38.33 MB / 3.286 GB, free: 0.6428 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0216/8.625, allocations: 0.799 MB / 3.287 GB, free: 0.6421 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003633/8.628, allocations: 487.6 kB / 3.288 GB, free: 0.6416 GB / 1.967 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.roo.occ.office1.nextTimeEvent,$whenCondition7,$PRE.roo.occ.office2.nextTimeEvent,$whenCondition6,$PRE.roo.occ.cla1.nextTimeEvent,$whenCondition5,$PRE.roo.occ.cla2.nextTimeEvent,$whenCondition4,$PRE.roo.occ.smaRoo1.nextTimeEvent,$whenCondition3,$PRE.roo.occ.smaRoo2.nextTimeEvent,$whenCondition2,$whenCondition1,onSig.pulseStart,$PRE.onSig.pulseStart,onSig.y,roo.occ.smaRoo2.nextTimeEventScaled,$PRE.roo.occ.smaRoo2.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEvent,roo.occ.smaRoo1.nextTimeEventScaled,$PRE.roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEvent,roo.occ.cla2.nextTimeEventScaled,$PRE.roo.occ.cla2.nextTimeEventScaled,roo.occ.cla2.nextTimeEvent,roo.occ.cla1.nextTimeEventScaled,$PRE.roo.occ.cla1.nextTimeEventScaled,roo.occ.cla1.nextTimeEvent,roo.occ.office2.nextTimeEventScaled,$PRE.roo.occ.office2.nextTimeEventScaled,roo.occ.office2.nextTimeEvent,roo.occ.office1.nextTimeEventScaled,$PRE.roo.occ.office1.nextTimeEventScaled,roo.occ.office1.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1003 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(4,9,87.5%), (4,9,87.5%), (4,9,81.2%), (4,9,81.2%), (4,9,100.0%), (4,9,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,10), (15,43), (9,26)} Notification: Performance of prepare postOptimizeDAE: time 0.005392/8.634, allocations: 0.7633 MB / 3.288 GB, free: 0.6409 GB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007721/8.642, allocations: 1.58 MB / 3.29 GB, free: 0.6393 GB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04322/8.685, allocations: 16.36 MB / 3.306 GB, free: 0.6233 GB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03165/8.717, allocations: 13.48 MB / 3.319 GB, free: 0.6101 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.305e-05/8.717, allocations: 4 kB / 3.319 GB, free: 0.6101 GB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01236/8.729, allocations: 3.255 MB / 3.322 GB, free: 0.6069 GB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007795/8.737, allocations: 215.9 kB / 3.322 GB, free: 0.6067 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01572/8.753, allocations: 455.1 kB / 3.323 GB, free: 0.6063 GB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003339/8.756, allocations: 0.6819 MB / 3.323 GB, free: 0.6056 GB / 1.967 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04342/8.799, allocations: 15.77 MB / 3.339 GB, free: 0.5903 GB / 1.967 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04963/8.849, allocations: 20.49 MB / 3.359 GB, free: 0.5702 GB / 1.967 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01085/8.86, allocations: 5.997 MB / 3.365 GB, free: 0.5644 GB / 1.967 GB Notification: Performance of sorting global known variables: time 0.02469/8.885, allocations: 10.15 MB / 3.375 GB, free: 0.5545 GB / 1.967 GB Notification: Performance of Backend: time 3.006e-06/8.885, allocations: 0 / 3.375 GB, free: 0.5545 GB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.08211/8.967, allocations: 25.11 MB / 3.399 GB, free: 0.5306 GB / 1.967 GB Notification: Performance of SimCode: time 0.1005/9.068, allocations: 40.34 MB / 3.439 GB, free: 0.4914 GB / 1.967 GB Notification: Performance of Templates: time 0.5707/9.638, allocations: 401.5 MB / 3.831 GB, free: 103.9 MB / 1.967 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.makefile (rm -f Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.sim & ./Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe 2>&1)