Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001493, allocations: 187.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.737/0.737, allocations: 82.92 MB / 99.41 MB, free: 3.262 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.4 MB / 325.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 90.78 kB / 393.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09538, allocations: 67.44 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5115/0.607, allocations: 135.3 MB / 0.6585 GB, free: 2.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.6439, allocations: 22.21 MB / 0.6802 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.6469, allocations: 53.06 kB / 0.6803 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.6498, allocations: 0.937 MB / 0.6812 GB, free: 104 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007701/0.6576, allocations: 2.022 MB / 0.6831 GB, free: 14.41 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006329/0.6639, allocations: 1.599 MB / 0.6847 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005897/0.6698, allocations: 2.71 MB / 0.6874 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004821/0.6747, allocations: 2.734 MB / 0.69 GB, free: 7.348 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.6773, allocations: 1.233 MB / 0.6912 GB, free: 6.109 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.6803, allocations: 1.533 MB / 0.6927 GB, free: 4.57 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.6809, allocations: 96 kB / 0.6928 GB, free: 4.477 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.6829, allocations: 0.5111 MB / 0.6933 GB, free: 3.965 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.6839, allocations: 0.6537 MB / 0.694 GB, free: 3.309 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.6848, allocations: 0.5896 MB / 0.6945 GB, free: 2.711 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.6909, allocations: 4.018 MB / 0.6985 GB, free: 14.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.113e-06/0.691, allocations: 3.938 kB / 0.6985 GB, free: 14.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.419e-06/0.691, allocations: 0 / 0.6985 GB, free: 14.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.6911, allocations: 4 kB / 0.6985 GB, free: 14.68 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.009547/0.7007, allocations: 3.638 MB / 0.702 GB, free: 10.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7007, allocations: 12.03 kB / 0.702 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.7165, allocations: 2.683 MB / 0.7046 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/0.722, allocations: 2.057 MB / 0.7067 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.7223, allocations: 222 kB / 0.7069 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008076/0.7231, allocations: 292 kB / 0.7071 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.7379, allocations: 4.781 MB / 0.7118 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.738, allocations: 3.938 kB / 0.7118 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.7385, allocations: 128 kB / 0.7119 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.722e-05/0.7386, allocations: 72 kB / 0.712 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.7583, allocations: 5.919 MB / 0.7178 GB, free: 10.62 MB / 0.4948 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.03396/0.7923, allocations: 13.42 MB / 0.7309 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.8066, allocations: 4.411 MB / 0.7352 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.8079, allocations: 0.6618 MB / 0.7358 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007196/0.8151, allocations: 2.268 MB / 0.7381 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=255): time 7.241e-06/0.8151, allocations: 0 / 0.7381 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.02326/0.8384, allocations: 6.664 MB / 0.7446 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.8386, allocations: 205.9 kB / 0.7448 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.843, allocations: 2.293 MB / 0.747 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005343/0.8436, allocations: 77.64 kB / 0.7471 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.8451, allocations: 1.274 MB / 0.7483 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.8465, allocations: 0.8471 MB / 0.7491 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.8468, allocations: 44 kB / 0.7492 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000284/0.8471, allocations: 394.4 kB / 0.7496 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005836/0.8529, allocations: 1.788 MB / 0.7513 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/0.8596, allocations: 2.086 MB / 0.7534 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/0.866, allocations: 1.928 MB / 0.7552 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.8661, allocations: 0 / 0.7552 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01481/0.8809, allocations: 4.471 MB / 0.7596 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.881, allocations: 8.062 kB / 0.7596 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.881, allocations: 4 kB / 0.7596 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008716/0.8819, allocations: 228.6 kB / 0.7598 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/0.8871, allocations: 0.7606 MB / 0.7606 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/0.8932, allocations: 3.179 MB / 0.7637 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.8973, allocations: 0.4899 MB / 0.7642 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/0.898, allocations: 99.92 kB / 0.7642 GB, free: 9.887 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: 11 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002726/0.9008, allocations: 0.8953 MB / 0.7651 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007691/0.9015, allocations: 252.8 kB / 0.7654 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.9188, allocations: 5.089 MB / 0.7703 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.9189, allocations: 28 kB / 0.7704 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.919, allocations: 4 kB / 0.7704 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/0.919, allocations: 11.95 kB / 0.7704 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/0.944, allocations: 8.565 MB / 0.7787 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/0.9441, allocations: 0 / 0.7787 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005051/0.9491, allocations: 0.7138 MB / 0.7794 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.9504, allocations: 268.5 kB / 0.7797 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00064/0.9511, allocations: 75.89 kB / 0.7798 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.9583, allocations: 4.876 MB / 0.7845 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.429e-06/0.9584, allocations: 0 / 0.7845 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/0.9808, allocations: 7.215 MB / 0.7916 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/0.9833, allocations: 0.8131 MB / 0.7924 GB, free: 12.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/0.9841, allocations: 52 kB / 0.7924 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003701/0.9878, allocations: 378.9 kB / 0.7928 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006342/0.9885, allocations: 161.9 kB / 0.7929 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004274/0.9889, allocations: 95.92 kB / 0.793 GB, free: 11.79 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003542/0.9925, allocations: 1.676 MB / 0.7947 GB, free: 10.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.047e-06/0.9925, allocations: 0 / 0.7947 GB, free: 10.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003675/0.9962, allocations: 0.9387 MB / 0.7956 GB, free: 9.156 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (248): * Single equations (assignments): 241 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/0.9998, allocations: 0.9739 MB / 0.7965 GB, free: 8.414 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.014, allocations: 4.343 MB / 0.8008 GB, free: 4.027 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.73e-06/1.014, allocations: 0 / 0.8008 GB, free: 4.027 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007779/1.021, allocations: 2.514 MB / 0.8032 GB, free: 1.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/1.025, allocations: 0.5463 MB / 0.8038 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3685/1.393, allocations: 8.594 MB / 0.8122 GB, free: 209.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004101/1.398, allocations: 2.413 MB / 0.8145 GB, free: 208.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00658/1.404, allocations: 1.083 MB / 0.8156 GB, free: 208.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.406, allocations: 254.7 kB / 0.8158 GB, free: 208.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.963e-06/1.406, allocations: 1.406 kB / 0.8158 GB, free: 208.4 MB / 0.573 GB Notification: Performance of Templates: time 0.0919/1.498, allocations: 39.76 MB / 0.8546 GB, free: 185.1 MB / 0.573 GB