Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003965/0.003964, allocations: 355.6 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.41/1.41, allocations: 165.8 MB / 182.5 MB, free: 5.5 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.881/3.881, allocations: 410.8 MB / 0.5995 GB, free: 15.1 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002658/0.002657, allocations: 193.2 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004537, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 67.43 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.603/0.9623, allocations: 147.7 MB / 0.9524 GB, free: 2.137 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.9969, allocations: 24.86 MB / 0.9767 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003773/1.001, allocations: 72.34 kB / 0.9767 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/1.003, allocations: 0.9993 MB / 0.9777 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008079/1.011, allocations: 2.308 MB / 0.98 GB, free: 1.754 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006384/1.018, allocations: 1.826 MB / 0.9818 GB, free: 1.707 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00742/1.025, allocations: 5.487 MB / 0.9871 GB, free: 1.613 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005008/1.03, allocations: 3.278 MB / 0.9903 GB, free: 488 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/1.033, allocations: 1.516 MB / 0.9918 GB, free: 280 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/1.038, allocations: 2.183 MB / 0.9939 GB, free: 0 / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009106/1.039, allocations: 136.4 kB / 0.9941 GB, free: 0 / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/1.042, allocations: 0.5873 MB / 0.9946 GB, free: 0 / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00238/1.044, allocations: 0.9194 MB / 0.9955 GB, free: 0 / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.045, allocations: 0.752 MB / 0.9963 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007209/1.053, allocations: 5.006 MB / 1.001 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.072e-06/1.053, allocations: 0 / 1.001 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.499e-06/1.053, allocations: 1.75 kB / 1.001 GB, free: 13.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001568/1.053, allocations: 0 / 1.001 GB, free: 13.15 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01116/1.064, allocations: 4.316 MB / 1.005 GB, free: 10.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.064, allocations: 15.34 kB / 1.005 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/1.08, allocations: 2.76 MB / 1.008 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006485/1.087, allocations: 2.397 MB / 1.01 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/1.087, allocations: 277.4 kB / 1.011 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/1.088, allocations: 364.6 kB / 1.011 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/1.104, allocations: 5.562 MB / 1.016 GB, free: 1.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.605e-05/1.104, allocations: 7.953 kB / 1.016 GB, free: 1.973 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005129/1.105, allocations: 151.9 kB / 1.017 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-05/1.105, allocations: 88 kB / 1.017 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/1.126, allocations: 6.67 MB / 1.023 GB, free: 12.75 MB / 0.4949 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.03991/1.166, allocations: 17.12 MB / 1.04 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/1.179, allocations: 4.499 MB / 1.044 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008195/1.188, allocations: 2.981 MB / 1.047 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.189, allocations: 0.6711 MB / 1.048 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00803/1.197, allocations: 2.618 MB / 1.05 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=313): time 8.561e-06/1.197, allocations: 0 / 1.05 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=313): time 0.03487/1.232, allocations: 9.348 MB / 1.06 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/1.232, allocations: 218.4 kB / 1.06 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005219/1.237, allocations: 2.613 MB / 1.062 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000704/1.238, allocations: 81.7 kB / 1.062 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/1.24, allocations: 1.525 MB / 1.064 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.242, allocations: 1.043 MB / 1.065 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/1.242, allocations: 56 kB / 1.065 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003476/1.243, allocations: 415.7 kB / 1.065 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006747/1.249, allocations: 2.09 MB / 1.067 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007402/1.257, allocations: 2.43 MB / 1.07 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/1.264, allocations: 2.273 MB / 1.072 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.264, allocations: 4 kB / 1.072 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01804/1.282, allocations: 5.605 MB / 1.077 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.282, allocations: 8 kB / 1.077 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.282, allocations: 4.406 kB / 1.077 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.285, allocations: 0.8161 MB / 1.078 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/1.29, allocations: 0.7669 MB / 1.079 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.305, allocations: 6.982 MB / 1.086 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.31, allocations: 0.5496 MB / 1.086 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/1.311, allocations: 124 kB / 1.087 GB, free: 0.8867 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 288 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003229/1.314, allocations: 1.025 MB / 1.088 GB, free: 15.86 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009391/1.315, allocations: 306.1 kB / 1.088 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/1.335, allocations: 6.195 MB / 1.094 GB, free: 9.305 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-05/1.335, allocations: 32 kB / 1.094 GB, free: 9.273 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/1.335, allocations: 8 kB / 1.094 GB, free: 9.266 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/1.335, allocations: 15.94 kB / 1.094 GB, free: 9.25 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/1.366, allocations: 10.46 MB / 1.104 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/1.366, allocations: 0 / 1.104 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005288/1.371, allocations: 0.7293 MB / 1.105 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/1.374, allocations: 0.7341 MB / 1.106 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007413/1.375, allocations: 79.94 kB / 1.106 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/1.392, allocations: 9.792 MB / 1.115 GB, free: 2.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.392, allocations: 0 / 1.115 GB, free: 2.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02678/1.419, allocations: 8.751 MB / 1.124 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/1.422, allocations: 0.9315 MB / 1.125 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009393/1.423, allocations: 56 kB / 1.125 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004252/1.427, allocations: 403.3 kB / 1.125 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/1.428, allocations: 210.3 kB / 1.125 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004538/1.428, allocations: 107.9 kB / 1.125 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003892/1.432, allocations: 1.888 MB / 1.127 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.108e-06/1.432, allocations: 0 / 1.127 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004893/1.437, allocations: 1.204 MB / 1.128 GB, free: 5.332 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003754/1.441, allocations: 0.9815 MB / 1.129 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.458, allocations: 5.315 MB / 1.135 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.783e-06/1.458, allocations: 0 / 1.135 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.009376/1.467, allocations: 3.219 MB / 1.138 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.472, allocations: 0.7125 MB / 1.138 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/1.502, allocations: 10.32 MB / 1.148 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006968/1.509, allocations: 2.749 MB / 1.151 GB, free: 14.27 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.01096/1.52, allocations: 1.137 MB / 1.152 GB, free: 13.12 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/1.523, allocations: 275.2 kB / 1.153 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of SimCode: time 2.764e-06/1.523, allocations: 0 / 1.153 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of Templates: time 0.4741/1.997, allocations: 49.59 MB / 1.201 GB, free: 240.7 MB / 0.6199 GB