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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001329/0.001329, allocations: 105.4 kB / 16.36 MB, free: 6.309 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.001382/0.001382, allocations: 191.1 kB / 17.3 MB, free: 5.871 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 61.28 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 4.176/4.518, allocations: 1.243 GB / 2.27 GB, free: 13.14 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.2081/4.726, allocations: 123.8 MB / 2.39 GB, free: 14.42 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04504/4.771, allocations: 0.7596 MB / 2.391 GB, free: 14.42 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.03655/4.808, allocations: 11.16 MB / 2.402 GB, free: 9.305 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.1036/4.911, allocations: 26.31 MB / 2.428 GB, free: 12.59 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.05252/4.964, allocations: 16.39 MB / 2.444 GB, free: 1.344 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 0.09746/5.061, allocations: 58.14 MB / 2.501 GB, free: 9.113 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05329/5.115, allocations: 22.54 MB / 2.523 GB, free: 2.871 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.073/5.188, allocations: 24.83 MB / 2.547 GB, free: 11.75 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04418/5.232, allocations: 16.43 MB / 2.563 GB, free: 12.5 MB / 1.607 GB Notification: Performance of NFPackage.collectConstants: time 0.01573/5.248, allocations: 2.98 MB / 2.566 GB, free: 9.523 MB / 1.607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05241/5.3, allocations: 17.9 MB / 2.583 GB, free: 9.645 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01924/5.319, allocations: 9.167 MB / 2.592 GB, free: 0.6133 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.03867/5.358, allocations: 13.15 MB / 2.605 GB, free: 3.559 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.09228/5.451, allocations: 43.41 MB / 2.647 GB, free: 9.438 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/5.451, allocations: 3.938 kB / 2.647 GB, free: 9.434 MB / 1.686 GB Notification: Performance of FrontEnd: time 1.994e-06/5.451, allocations: 0 / 2.647 GB, free: 9.434 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.001532/5.452, allocations: 4 kB / 2.647 GB, free: 9.43 MB / 1.686 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.1006/5.553, allocations: 23.32 MB / 2.67 GB, free: 2.074 MB / 1.701 GB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/5.553, allocations: 8.031 kB / 2.67 GB, free: 2.066 MB / 1.701 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03216/5.585, allocations: 4.382 MB / 2.675 GB, free: 13.67 MB / 1.717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05791/5.643, allocations: 18.6 MB / 2.693 GB, free: 11.32 MB / 1.732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/5.644, allocations: 0.951 MB / 2.694 GB, free: 10.37 MB / 1.732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007057/5.651, allocations: 1.287 MB / 2.695 GB, free: 9.09 MB / 1.732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05609/5.708, allocations: 17.51 MB / 2.712 GB, free: 7.355 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000536/5.708, allocations: 11.84 kB / 2.712 GB, free: 7.344 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005886/5.714, allocations: 0.4959 MB / 2.713 GB, free: 6.855 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005448/5.715, allocations: 483.7 kB / 2.713 GB, free: 6.383 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04631/5.761, allocations: 16.24 MB / 2.729 GB, free: 6.137 MB / 1.764 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.53/7.291, allocations: 84.78 MB / 2.812 GB, free: 0.8619 GB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/7.316, allocations: 10.59 MB / 2.822 GB, free: 0.8576 GB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01489/7.331, allocations: 6.987 MB / 2.829 GB, free: 0.8547 GB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/7.333, allocations: 332.3 kB / 2.829 GB, free: 0.8545 GB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02143/7.354, allocations: 7.22 MB / 2.836 GB, free: 0.8518 GB / 1.779 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01715/7.371, allocations: 1.865 MB / 2.838 GB, free: 0.8515 GB / 1.779 GB Notification: Performance of pre-optimization done (n=880): time 8.383e-05/7.371, allocations: 0 / 2.838 GB, free: 0.8515 GB / 1.779 GB Notification: Performance of matching and sorting (n=880): time 0.1197/7.491, allocations: 31.18 MB / 2.868 GB, free: 0.8365 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/7.491, allocations: 167 kB / 2.869 GB, free: 0.8364 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04666/7.538, allocations: 14.79 MB / 2.883 GB, free: 0.8291 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.005852/7.544, allocations: 233.2 kB / 2.883 GB, free: 0.8289 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01829/7.562, allocations: 7.996 MB / 2.891 GB, free: 0.8225 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.006704/7.569, allocations: 3.05 MB / 2.894 GB, free: 0.8199 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01177/7.581, allocations: 2.162 MB / 2.896 GB, free: 0.8187 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/7.581, allocations: 311 kB / 2.896 GB, free: 0.8184 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01308/7.594, allocations: 6.126 MB / 2.902 GB, free: 0.8152 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01602/7.61, allocations: 8.946 MB / 2.911 GB, free: 0.8087 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02819/7.638, allocations: 14.44 MB / 2.925 GB, free: 0.7992 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/7.639, allocations: 8 kB / 2.925 GB, free: 0.7992 GB / 1.779 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.06946/7.708, allocations: 21.08 MB / 2.946 GB, free: 0.7787 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/7.708, allocations: 22.34 kB / 2.946 GB, free: 0.7787 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.64e-05/7.708, allocations: 40 kB / 2.946 GB, free: 0.7786 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02325/7.732, allocations: 5.424 MB / 2.951 GB, free: 0.7734 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/7.743, allocations: 2.047 MB / 2.953 GB, free: 0.7714 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04301/7.786, allocations: 33.75 MB / 2.986 GB, free: 0.7374 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/7.806, allocations: 0.6797 MB / 2.987 GB, free: 0.7368 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003527/7.809, allocations: 0.5074 MB / 2.987 GB, free: 0.7363 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02442/7.834, allocations: 9.878 MB / 2.997 GB, free: 0.7266 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01518/7.849, allocations: 8.647 MB / 3.005 GB, free: 0.7171 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02761/7.877, allocations: 13.84 MB / 3.019 GB, free: 0.703 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.275e-05/7.877, allocations: 12 kB / 3.019 GB, free: 0.703 GB / 1.779 GB Notification: Performance of matching and sorting (n=1266) (initialization_lambda0): time 0.06487/7.942, allocations: 19.99 MB / 3.038 GB, free: 0.6834 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/7.942, allocations: 26.03 kB / 3.038 GB, free: 0.6834 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/7.942, allocations: 40.2 kB / 3.039 GB, free: 0.6833 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0223/7.964, allocations: 4.821 MB / 3.043 GB, free: 0.6786 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/7.976, allocations: 1.946 MB / 3.045 GB, free: 0.6767 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05246/8.028, allocations: 38.3 MB / 3.083 GB, free: 0.6381 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02191/8.05, allocations: 0.7987 MB / 3.083 GB, free: 0.6373 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003915/8.054, allocations: 491.5 kB / 3.084 GB, free: 0.6368 GB / 1.779 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.007873/8.062, allocations: 0.7526 MB / 3.085 GB, free: 0.6361 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00955/8.072, allocations: 1.509 MB / 3.086 GB, free: 0.6346 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05795/8.13, allocations: 16.35 MB / 3.102 GB, free: 0.6186 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04163/8.171, allocations: 13.48 MB / 3.115 GB, free: 0.6054 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.902e-05/8.171, allocations: 0 / 3.115 GB, free: 0.6054 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01436/8.186, allocations: 3.176 MB / 3.118 GB, free: 0.6022 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00816/8.194, allocations: 216 kB / 3.118 GB, free: 0.602 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01702/8.211, allocations: 455.3 kB / 3.119 GB, free: 0.6016 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003635/8.215, allocations: 0.6819 MB / 3.12 GB, free: 0.6009 GB / 1.779 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04588/8.261, allocations: 15.76 MB / 3.135 GB, free: 0.5857 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04819/8.309, allocations: 20.41 MB / 3.155 GB, free: 0.5657 GB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01155/8.32, allocations: 5.993 MB / 3.161 GB, free: 0.5598 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02638/8.347, allocations: 10.16 MB / 3.171 GB, free: 0.5499 GB / 1.779 GB Notification: Performance of Backend: time 7.62e-07/8.347, allocations: 0 / 3.171 GB, free: 0.5499 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.07467/8.422, allocations: 25.02 MB / 3.195 GB, free: 0.526 GB / 1.779 GB Notification: Performance of SimCode: time 0.09957/8.521, allocations: 39.72 MB / 3.234 GB, free: 499.1 MB / 1.779 GB Notification: Performance of Templates: time 0.577/9.098, allocations: 397 MB / 3.622 GB, free: 104.4 MB / 1.779 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)