Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.00239, allocations: 352.6 kB / 15.94 MB, free: 6.211 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.475/1.475, allocations: 165.8 MB / 182.5 MB, free: 5.375 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.732/3.732, allocations: 410.8 MB / 0.5995 GB, free: 15.14 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.00177/0.00177, allocations: 194.2 kB / 0.6662 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.000457, allocations: 12 kB / 0.7423 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3225, allocations: 67.43 MB / 0.8081 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5288/0.8514, allocations: 145.7 MB / 0.9504 GB, free: 2.16 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.03309/0.8845, allocations: 24.2 MB / 0.974 GB, free: 1.836 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.888, allocations: 63.16 kB / 0.9741 GB, free: 1.836 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.8906, allocations: 0.928 MB / 0.975 GB, free: 1.832 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.8982, allocations: 2.099 MB / 0.977 GB, free: 1.809 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.9042, allocations: 1.633 MB / 0.9786 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.9103, allocations: 4.495 MB / 0.983 GB, free: 1.746 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004233/0.9146, allocations: 2.872 MB / 0.9858 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.9168, allocations: 1.293 MB / 0.9871 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.9197, allocations: 1.798 MB / 0.9888 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005825/0.9203, allocations: 107.6 kB / 0.9889 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.9225, allocations: 0.5423 MB / 0.9895 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008853/0.9234, allocations: 0.7103 MB / 0.9902 GB, free: 428 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.9244, allocations: 0.6258 MB / 0.9908 GB, free: 392 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006039/0.9305, allocations: 4.258 MB / 0.9949 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.548e-06/0.9305, allocations: 0 / 0.9949 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9305, allocations: 0 / 0.9949 GB, free: 14.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001227/0.9307, allocations: 0 / 0.9949 GB, free: 14.05 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.009696/0.9404, allocations: 3.795 MB / 0.9986 GB, free: 11.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9404, allocations: 13.41 kB / 0.9987 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.956, allocations: 2.693 MB / 1.001 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/0.9616, allocations: 2.167 MB / 1.003 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.9618, allocations: 239.6 kB / 1.004 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008882/0.9627, allocations: 306.8 kB / 1.004 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.9771, allocations: 4.98 MB / 1.009 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.9772, allocations: 2.625 kB / 1.009 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/0.9777, allocations: 129.6 kB / 1.009 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/0.9778, allocations: 83.94 kB / 1.009 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.9973, allocations: 6.11 MB / 1.015 GB, free: 0.9297 MB / 490.7 MB 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.03404/1.031, allocations: 14.26 MB / 1.029 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1.045, allocations: 4.513 MB / 1.033 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006676/1.052, allocations: 2.385 MB / 1.036 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.053, allocations: 0.6718 MB / 1.036 GB, free: 56 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007067/1.06, allocations: 2.352 MB / 1.039 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 9.355e-06/1.06, allocations: 4 kB / 1.039 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=268): time 0.0241/1.084, allocations: 7.23 MB / 1.046 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.084, allocations: 212.2 kB / 1.046 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/1.089, allocations: 2.351 MB / 1.048 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005919/1.089, allocations: 71.58 kB / 1.048 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.091, allocations: 1.34 MB / 1.05 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.092, allocations: 0.8898 MB / 1.05 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/1.093, allocations: 44 kB / 1.05 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003032/1.093, allocations: 414.7 kB / 1.051 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005987/1.099, allocations: 1.874 MB / 1.053 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006666/1.106, allocations: 2.178 MB / 1.055 GB, free: 136 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00653/1.112, allocations: 2.032 MB / 1.057 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.112, allocations: 1.859 kB / 1.057 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01475/1.127, allocations: 4.768 MB / 1.061 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.127, allocations: 4 kB / 1.061 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.127, allocations: 4 kB / 1.061 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.128, allocations: 353 kB / 1.062 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005194/1.134, allocations: 0.7488 MB / 1.062 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/1.141, allocations: 3.902 MB / 1.066 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.146, allocations: 0.5061 MB / 1.067 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007863/1.146, allocations: 105.7 kB / 1.067 GB, free: 3.598 MB / 0.5261 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 (276): * Single equations (assignments): 275 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002952/1.149, allocations: 0.9267 MB / 1.068 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008325/1.15, allocations: 268.6 kB / 1.068 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.167, allocations: 5.348 MB / 1.073 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/1.167, allocations: 28 kB / 1.073 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.167, allocations: 4 kB / 1.073 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/1.167, allocations: 15.95 kB / 1.073 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/1.193, allocations: 9.022 MB / 1.082 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.193, allocations: 7.938 kB / 1.082 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004979/1.198, allocations: 0.6897 MB / 1.083 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/1.199, allocations: 377.1 kB / 1.083 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006254/1.2, allocations: 79.94 kB / 1.083 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00908/1.209, allocations: 5.776 MB / 1.089 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.928e-06/1.209, allocations: 3.953 kB / 1.089 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/1.232, allocations: 7.606 MB / 1.096 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.234, allocations: 0.8326 MB / 1.097 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000725/1.235, allocations: 52 kB / 1.097 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.239, allocations: 384 kB / 1.098 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/1.239, allocations: 174 kB / 1.098 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003982/1.24, allocations: 91.94 kB / 1.098 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003315/1.243, allocations: 1.717 MB / 1.099 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.012e-06/1.243, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003962/1.247, allocations: 1.003 MB / 1.1 GB, free: 0.7812 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003598/1.251, allocations: 0.9718 MB / 1.101 GB, free: 208 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.265, allocations: 4.606 MB / 1.106 GB, free: 11.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.944e-06/1.265, allocations: 0 / 1.106 GB, free: 11.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/1.273, allocations: 2.657 MB / 1.109 GB, free: 8.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.277, allocations: 0.6113 MB / 1.109 GB, free: 8.352 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.297, allocations: 9.035 MB / 1.118 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/1.301, allocations: 2.494 MB / 1.12 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006208/1.307, allocations: 1.115 MB / 1.121 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.309, allocations: 257.9 kB / 1.122 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of SimCode: time 2.24e-06/1.309, allocations: 0 / 1.122 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.1057/1.415, allocations: 41.77 MB / 1.162 GB, free: 1.992 MB / 0.6198 GB