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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.011/2.011, allocations: 391.2 MB / 407 MB, free: 10.77 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.001283/0.001283, allocations: 185.5 kB / 499.1 MB, free: 4.621 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.315/1.315, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.0009656/0.0009656, allocations: 109.7 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.16 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2449, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 3.092/3.337, allocations: 1.242 GB / 2.46 GB, free: 1.754 MB / 1.432 GB Notification: Performance of NFInst.instExpressions: time 0.16/3.497, allocations: 122.5 MB / 2.58 GB, free: 268 kB / 1.432 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02938/3.526, allocations: 0.6908 MB / 2.581 GB, free: 268 kB / 1.432 GB Notification: Performance of NFTyping.typeComponents: time 0.02705/3.553, allocations: 8.751 MB / 2.589 GB, free: 96 kB / 1.432 GB Notification: Performance of NFTyping.typeBindings: time 0.06435/3.618, allocations: 24.46 MB / 2.613 GB, free: 14.99 MB / 1.448 GB Notification: Performance of NFTyping.typeClassSections: time 0.03571/3.654, allocations: 14.78 MB / 2.628 GB, free: 14.66 MB / 1.448 GB Notification: Performance of NFFlatten.flatten: time 0.06829/3.722, allocations: 60.32 MB / 2.687 GB, free: 12.55 MB / 1.464 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03476/3.757, allocations: 18.54 MB / 2.705 GB, free: 2.629 MB / 1.464 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05827/3.815, allocations: 21.23 MB / 2.725 GB, free: 15.59 MB / 1.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03264/3.848, allocations: 15.94 MB / 2.741 GB, free: 0.8125 MB / 1.495 GB Notification: Performance of NFPackage.collectConstants: time 0.008274/3.856, allocations: 1.195 MB / 2.742 GB, free: 15.61 MB / 1.51 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0422/3.898, allocations: 18.57 MB / 2.76 GB, free: 15.12 MB / 1.526 GB Notification: Performance of NFScalarize.scalarize: time 0.01346/3.912, allocations: 7.158 MB / 2.767 GB, free: 8.184 MB / 1.526 GB Notification: Performance of NFVerifyModel.verify: time 0.02894/3.941, allocations: 10.9 MB / 2.778 GB, free: 13.39 MB / 1.542 GB Notification: Performance of NFConvertDAE.convert: time 0.06861/4.009, allocations: 42.1 MB / 2.819 GB, free: 4.738 MB / 1.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/4.009, allocations: 0 / 2.819 GB, free: 4.738 MB / 1.573 GB Notification: Performance of FrontEnd: time 2.094e-06/4.009, allocations: 4 kB / 2.819 GB, free: 4.734 MB / 1.573 GB Notification: Performance of Transformations before backend: time 0.001257/4.011, allocations: 4 kB / 2.819 GB, free: 4.73 MB / 1.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3086 * Number of variables: 3086 Notification: Performance of Generate backend data structure: time 0.06712/4.078, allocations: 22.59 MB / 2.841 GB, free: 14.13 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/4.078, allocations: 15.98 kB / 2.841 GB, free: 14.12 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/4.103, allocations: 4.177 MB / 2.845 GB, free: 9.934 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03775/4.141, allocations: 16.46 MB / 2.861 GB, free: 9.664 MB / 1.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/4.142, allocations: 0.9649 MB / 2.862 GB, free: 8.699 MB / 1.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00468/4.147, allocations: 1.28 MB / 2.863 GB, free: 7.426 MB / 1.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/4.195, allocations: 17.29 MB / 2.88 GB, free: 5.926 MB / 1.635 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/4.195, allocations: 11.84 kB / 2.88 GB, free: 5.914 MB / 1.635 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003469/4.199, allocations: 0.4949 MB / 2.881 GB, free: 5.426 MB / 1.635 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/4.199, allocations: 483.7 kB / 2.881 GB, free: 4.953 MB / 1.635 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03522/4.234, allocations: 16.1 MB / 2.897 GB, free: 4.844 MB / 1.651 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.1338/4.368, allocations: 83.42 MB / 2.979 GB, free: 12.23 MB / 1.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/4.391, allocations: 10.44 MB / 2.989 GB, free: 1.801 MB / 1.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01473/4.405, allocations: 6.912 MB / 2.995 GB, free: 10.89 MB / 1.76 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/4.407, allocations: 326.9 kB / 2.996 GB, free: 10.61 MB / 1.76 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01828/4.425, allocations: 7.051 MB / 3.003 GB, free: 3.512 MB / 1.76 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01605/4.441, allocations: 3.39 MB / 3.006 GB, free: 164 kB / 1.76 GB Notification: Performance of pre-optimization done (n=882): time 4.329e-05/4.441, allocations: 0 / 3.006 GB, free: 164 kB / 1.76 GB Notification: Performance of matching and sorting (n=882): time 0.06609/4.507, allocations: 21.85 MB / 3.027 GB, free: 10.24 MB / 1.792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/4.508, allocations: 168 kB / 3.027 GB, free: 10.06 MB / 1.792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0348/4.542, allocations: 13.69 MB / 3.041 GB, free: 12.46 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.002939/4.545, allocations: 229.7 kB / 3.041 GB, free: 12.23 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.01067/4.556, allocations: 7.885 MB / 3.049 GB, free: 4.367 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.005697/4.562, allocations: 3.042 MB / 3.052 GB, free: 1.352 MB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008927/4.571, allocations: 1.936 MB / 3.054 GB, free: 15.4 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/4.571, allocations: 301.1 kB / 3.054 GB, free: 15.11 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.011/4.582, allocations: 5.272 MB / 3.059 GB, free: 9.812 MB / 1.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/4.596, allocations: 8.004 MB / 3.067 GB, free: 0.7227 MB / 1.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.023/4.619, allocations: 12.85 MB / 3.079 GB, free: 3.344 MB / 1.839 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-05/4.619, allocations: 12 kB / 3.079 GB, free: 3.332 MB / 1.839 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.04057/4.659, allocations: 15.76 MB / 3.095 GB, free: 3.555 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/4.66, allocations: 27.97 kB / 3.095 GB, free: 3.527 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.453e-05/4.66, allocations: 40 kB / 3.095 GB, free: 3.488 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005639/4.665, allocations: 1.923 MB / 3.097 GB, free: 1.566 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.9507/5.616, allocations: 2.164 MB / 3.099 GB, free: 1.043 GB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006777/5.623, allocations: 8.281 MB / 3.107 GB, free: 1.037 GB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01844/5.641, allocations: 1.519 MB / 3.108 GB, free: 1.037 GB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/5.644, allocations: 471.9 kB / 3.109 GB, free: 1.037 GB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01855/5.662, allocations: 8.953 MB / 3.118 GB, free: 1.034 GB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01214/5.674, allocations: 7.843 MB / 3.125 GB, free: 1.029 GB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02094/5.695, allocations: 12.5 MB / 3.137 GB, free: 1.022 GB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.906e-05/5.695, allocations: 8.875 kB / 3.138 GB, free: 1.022 GB / 1.854 GB Notification: Performance of matching and sorting (n=1140) (initialization_lambda0): time 0.03094/5.726, allocations: 14.93 MB / 3.152 GB, free: 1.016 GB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/5.726, allocations: 19.84 kB / 3.152 GB, free: 1.016 GB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/5.727, allocations: 43.31 kB / 3.152 GB, free: 1.016 GB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/5.729, allocations: 1.275 MB / 3.153 GB, free: 1.016 GB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009491/5.739, allocations: 2.065 MB / 3.155 GB, free: 1.016 GB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/5.753, allocations: 12.25 MB / 3.167 GB, free: 1.008 GB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/5.772, allocations: 1.643 MB / 3.169 GB, free: 1.008 GB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002381/5.774, allocations: 452.2 kB / 3.169 GB, free: 1.008 GB / 1.854 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 (1034): * Single equations (assignments): 1021 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.004951/5.779, allocations: 0.7357 MB / 3.17 GB, free: 1.007 GB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006264/5.786, allocations: 1.441 MB / 3.172 GB, free: 1.007 GB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0256/5.811, allocations: 14.17 MB / 3.185 GB, free: 1.001 GB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/5.811, allocations: 88.78 kB / 3.185 GB, free: 1.001 GB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/5.811, allocations: 3.328 kB / 3.185 GB, free: 1.001 GB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01687/5.828, allocations: 11.44 MB / 3.197 GB, free: 0.9966 GB / 1.854 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.05415/5.883, allocations: 32.56 MB / 3.228 GB, free: 0.9745 GB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/5.883, allocations: 4 kB / 3.228 GB, free: 0.9745 GB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008573/5.891, allocations: 1.841 MB / 3.23 GB, free: 0.9728 GB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/5.893, allocations: 0.9994 MB / 3.231 GB, free: 0.9718 GB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000931/5.894, allocations: 259.9 kB / 3.231 GB, free: 0.9715 GB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/5.897, allocations: 7.884 MB / 3.239 GB, free: 0.9636 GB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/5.898, allocations: 3.938 kB / 3.239 GB, free: 0.9636 GB / 1.854 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.