Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVCO2.VAVSystemCTControl.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.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001147/0.001148, allocations: 186.4 kB / 376.9 MB, free: 1.816 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.274/1.274, allocations: 205 MB / 0.6353 GB, free: 9.816 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.0009435/0.0009437, allocations: 98.5 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 55.91 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.22, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 2.653/2.873, allocations: 1.243 GB / 2.225 GB, free: 4.891 MB / 1.229 GB Notification: Performance of NFInst.instExpressions: time 1.263/4.136, allocations: 126.1 MB / 2.348 GB, free: 0.6992 MB / 1.276 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03596/4.172, allocations: 0.6683 MB / 2.349 GB, free: 0.6992 MB / 1.276 GB Notification: Performance of NFTyping.typeComponents: time 0.0309/4.203, allocations: 9.021 MB / 2.358 GB, free: 0.6797 MB / 1.276 GB Notification: Performance of NFTyping.typeBindings: time 0.08225/4.285, allocations: 24.31 MB / 2.382 GB, free: 15.6 MB / 1.292 GB Notification: Performance of NFTyping.typeClassSections: time 0.04935/4.335, allocations: 16.73 MB / 2.398 GB, free: 15.07 MB / 1.292 GB Notification: Performance of NFFlatten.flatten: time 0.08839/4.423, allocations: 60.31 MB / 2.457 GB, free: 9.398 MB / 1.292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04525/4.468, allocations: 18.55 MB / 2.475 GB, free: 1.75 MB / 1.292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07308/4.542, allocations: 21.25 MB / 2.496 GB, free: 0.5391 MB / 1.307 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03994/4.582, allocations: 15.92 MB / 2.511 GB, free: 1.785 MB / 1.323 GB Notification: Performance of NFPackage.collectConstants: time 0.01282/4.594, allocations: 1.191 MB / 2.512 GB, free: 0.5938 MB / 1.323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06139/4.656, allocations: 18.69 MB / 2.531 GB, free: 15.98 MB / 1.354 GB Notification: Performance of NFScalarize.scalarize: time 0.01823/4.674, allocations: 7.177 MB / 2.538 GB, free: 9.023 MB / 1.354 GB Notification: Performance of NFVerifyModel.verify: time 0.03595/4.71, allocations: 10.93 MB / 2.548 GB, free: 14.21 MB / 1.37 GB Notification: Performance of NFConvertDAE.convert: time 0.08429/4.794, allocations: 42.31 MB / 2.59 GB, free: 5.355 MB / 1.401 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/4.795, allocations: 0 / 2.59 GB, free: 5.355 MB / 1.401 GB Notification: Performance of FrontEnd: time 2.034e-06/4.795, allocations: 0 / 2.59 GB, free: 5.355 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.001519/4.796, allocations: 0 / 2.59 GB, free: 5.355 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.07683/4.873, allocations: 22.69 MB / 2.612 GB, free: 14.65 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/4.873, allocations: 19.91 kB / 2.612 GB, free: 14.63 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02672/4.9, allocations: 4.001 MB / 2.616 GB, free: 10.62 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04281/4.943, allocations: 16.33 MB / 2.632 GB, free: 10.49 MB / 1.448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001329/4.944, allocations: 0.9764 MB / 2.633 GB, free: 9.512 MB / 1.448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00591/4.95, allocations: 1.295 MB / 2.634 GB, free: 8.223 MB / 1.448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05451/5.004, allocations: 17.39 MB / 2.651 GB, free: 6.586 MB / 1.464 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005265/5.005, allocations: 19.83 kB / 2.651 GB, free: 6.566 MB / 1.464 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004607/5.01, allocations: 0.4904 MB / 2.651 GB, free: 6.078 MB / 1.464 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004921/5.01, allocations: 467.8 kB / 2.652 GB, free: 5.621 MB / 1.464 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04131/5.051, allocations: 15.93 MB / 2.667 GB, free: 5.684 MB / 1.479 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 0.1512/5.203, allocations: 83.2 MB / 2.749 GB, free: 13.29 MB / 1.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02037/5.223, allocations: 10.19 MB / 2.759 GB, free: 3.133 MB / 1.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/5.235, allocations: 6.858 MB / 2.765 GB, free: 12.27 MB / 1.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/5.236, allocations: 333.9 kB / 2.766 GB, free: 11.98 MB / 1.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01408/5.251, allocations: 7.003 MB / 2.772 GB, free: 4.938 MB / 1.589 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01586/5.266, allocations: 3.412 MB / 2.776 GB, free: 1.566 MB / 1.589 GB Notification: Performance of pre-optimization done (n=882): time 3.962e-05/5.267, allocations: 0 / 2.776 GB, free: 1.566 MB / 1.589 GB Notification: Performance of matching and sorting (n=882): time 0.06002/5.327, allocations: 21.78 MB / 2.797 GB, free: 11.73 MB / 1.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003062/5.327, allocations: 0.6198 MB / 2.798 GB, free: 10.98 MB / 1.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03184/5.359, allocations: 13.72 MB / 2.811 GB, free: 13.35 MB / 1.635 GB Notification: Performance of collectPreVariables (initialization): time 0.003051/5.362, allocations: 236.5 kB / 2.811 GB, free: 13.12 MB / 1.635 GB Notification: Performance of collectInitialEqns (initialization): time 0.0107/5.373, allocations: 8.012 MB / 2.819 GB, free: 5.129 MB / 1.635 GB Notification: Performance of collectInitialBindings (initialization): time 0.006066/5.379, allocations: 3.043 MB / 2.822 GB, free: 2.109 MB / 1.635 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009102/5.388, allocations: 1.985 MB / 2.824 GB, free: 116 kB / 1.635 GB Notification: Performance of setup shared object (initialization): time 0.0001105/5.388, allocations: 305.1 kB / 2.824 GB, free: 15.81 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/5.398, allocations: 5.331 MB / 2.829 GB, free: 10.46 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01302/5.411, allocations: 8.294 MB / 2.838 GB, free: 0.9961 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02247/5.434, allocations: 12.95 MB / 2.85 GB, free: 3.527 MB / 1.667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.294e-05/5.434, allocations: 12 kB / 2.85 GB, free: 3.516 MB / 1.667 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.04091/5.475, allocations: 15.93 MB / 2.866 GB, free: 3.578 MB / 1.682 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/5.475, allocations: 21 kB / 2.866 GB, free: 3.559 MB / 1.682 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/5.475, allocations: 47.98 kB / 2.866 GB, free: 3.512 MB / 1.682 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/5.481, allocations: 1.877 MB / 2.868 GB, free: 1.637 MB / 1.682 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/5.492, allocations: 2.117 MB / 2.87 GB, free: 15.52 MB / 1.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/5.5, allocations: 8.291 MB / 2.878 GB, free: 6.973 MB / 1.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/5.519, allocations: 1.402 MB / 2.879 GB, free: 5.57 MB / 1.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/5.522, allocations: 473.2 kB / 2.88 GB, free: 5.109 MB / 1.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.8253/6.347, allocations: 9.053 MB / 2.889 GB, free: 0.9604 GB / 1.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01161/6.359, allocations: 8.124 MB / 2.896 GB, free: 0.9573 GB / 1.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02104/6.38, allocations: 12.6 MB / 2.909 GB, free: 0.9515 GB / 1.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.121e-05/6.38, allocations: 12.97 kB / 2.909 GB, free: 0.9515 GB / 1.698 GB Notification: Performance of matching and sorting (n=1164) (initialization_lambda0): time 0.02978/6.41, allocations: 15.12 MB / 2.924 GB, free: 0.9462 GB / 1.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/6.41, allocations: 21.16 kB / 2.924 GB, free: 0.9462 GB / 1.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/6.41, allocations: 46.09 kB / 2.924 GB, free: 0.9462 GB / 1.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/6.414, allocations: 1.276 MB / 2.925 GB, free: 0.946 GB / 1.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/6.425, allocations: 2.023 MB / 2.927 GB, free: 0.9459 GB / 1.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/6.441, allocations: 12.24 MB / 2.939 GB, free: 0.938 GB / 1.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/6.459, allocations: 1.529 MB / 2.94 GB, free: 0.9379 GB / 1.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/6.461, allocations: 458.9 kB / 2.941 GB, free: 0.9378 GB / 1.698 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 (1046): * Single equations (assignments): 1021 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,10), (15,43), (9,26)} Notification: Performance of prepare postOptimizeDAE: time 0.002918/6.464, allocations: 0.7544 MB / 2.941 GB, free: 0.9372 GB / 1.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004394/6.468, allocations: 1.447 MB / 2.943 GB, free: 0.9372 GB / 1.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02577/6.494, allocations: 14.07 MB / 2.957 GB, free: 0.9314 GB / 1.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/6.494, allocations: 87.03 kB / 2.957 GB, free: 0.9314 GB / 1.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/6.494, allocations: 0 / 2.957 GB, free: 0.9314 GB / 1.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01719/6.512, allocations: 11.36 MB / 2.968 GB, free: 0.9266 GB / 1.698 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 postOpt removeSimpleEquations (simulation): time 0.06984/6.581, allocations: 32.33 MB / 2.999 GB, free: 0.9126 GB / 1.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/6.582, allocations: 1.078 kB / 2.999 GB, free: 0.9126 GB / 1.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01354/6.595, allocations: 1.851 MB / 3.001 GB, free: 0.9124 GB / 1.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/6.597, allocations: 0.9866 MB / 3.002 GB, free: 0.9121 GB / 1.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001589/6.599, allocations: 257.8 kB / 3.002 GB, free: 0.912 GB / 1.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/6.604, allocations: 7.872 MB / 3.01 GB, free: 0.9052 GB / 1.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/6.604, allocations: 1.219 kB / 3.01 GB, free: 0.9052 GB / 1.698 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.