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.001501/0.001501, allocations: 186.9 kB / 15.77 MB, free: 6.375 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.711/0.711, allocations: 82.94 MB / 99.43 MB, free: 2.234 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.057/2.057, allocations: 205.4 MB / 325.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009729/0.0009725, allocations: 93.36 kB / 393.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 12 kB / 471.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3973, allocations: 67.42 MB / 0.5263 GB, free: 55.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1896/0.5869, allocations: 135.9 MB / 0.659 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03892/0.6258, allocations: 22.37 MB / 0.6809 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.6289, allocations: 59.62 kB / 0.6809 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.632, allocations: 0.9685 MB / 0.6819 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.6405, allocations: 2.097 MB / 0.6839 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006561/0.6471, allocations: 1.607 MB / 0.6855 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006491/0.6536, allocations: 2.888 MB / 0.6883 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005258/0.6589, allocations: 2.866 MB / 0.6911 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.6619, allocations: 1.28 MB / 0.6924 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.6652, allocations: 1.611 MB / 0.6939 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.6659, allocations: 108 kB / 0.694 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.6682, allocations: 0.519 MB / 0.6946 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.6692, allocations: 0.7004 MB / 0.6952 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.6703, allocations: 0.6286 MB / 0.6959 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.677, allocations: 4.247 MB / 0.7 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.78e-06/0.6771, allocations: 0 / 0.7 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.951e-06/0.6771, allocations: 0 / 0.7 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001104/0.6772, allocations: 3.938 kB / 0.7 GB, free: 0.6328 MB / 0.5105 GB 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.3222/0.9995, allocations: 3.787 MB / 0.7037 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9995, allocations: 14.61 kB / 0.7037 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.016, allocations: 2.704 MB / 0.7064 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/1.022, allocations: 2.125 MB / 0.7084 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/1.023, allocations: 237.6 kB / 0.7087 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000979/1.024, allocations: 305.3 kB / 0.7089 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.039, allocations: 4.955 MB / 0.7138 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-05/1.039, allocations: 4.906 kB / 0.7138 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004888/1.039, allocations: 131.6 kB / 0.7139 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/1.039, allocations: 79 kB / 0.714 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/1.06, allocations: 6.105 MB / 0.72 GB, free: 152.2 MB / 0.5105 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.03418/1.094, allocations: 14.28 MB / 0.7339 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/1.107, allocations: 4.576 MB / 0.7384 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00098/1.108, allocations: 0.6677 MB / 0.739 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006419/1.114, allocations: 2.352 MB / 0.7413 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 7.714e-06/1.114, allocations: 0 / 0.7413 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=268): time 0.02215/1.136, allocations: 7.225 MB / 0.7484 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/1.137, allocations: 218 kB / 0.7486 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/1.14, allocations: 2.373 MB / 0.7509 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005986/1.141, allocations: 73.7 kB / 0.751 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/1.142, allocations: 1.352 MB / 0.7523 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.143, allocations: 0.8888 MB / 0.7532 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.143, allocations: 48.22 kB / 0.7532 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.144, allocations: 398.6 kB / 0.7536 GB, free: 121 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005296/1.149, allocations: 1.862 MB / 0.7554 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005832/1.155, allocations: 2.166 MB / 0.7575 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/1.163, allocations: 2.018 MB / 0.7595 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/1.163, allocations: 0 / 0.7595 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.02496/1.188, allocations: 4.723 MB / 0.7641 GB, free: 110 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/1.188, allocations: 4.406 kB / 0.7641 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.188, allocations: 8 kB / 0.7641 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/1.19, allocations: 348.6 kB / 0.7644 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/1.2, allocations: 0.78 MB / 0.7652 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.211, allocations: 4.016 MB / 0.7691 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0075/1.219, allocations: 0.5012 MB / 0.7696 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.22, allocations: 103.9 kB / 0.7697 GB, free: 104.1 MB / 0.5105 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 (268): * Single equations (assignments): 267 * 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.004295/1.224, allocations: 0.9149 MB / 0.7706 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.226, allocations: 272.6 kB / 0.7709 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02996/1.256, allocations: 5.355 MB / 0.7761 GB, free: 97.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/1.256, allocations: 27.98 kB / 0.7761 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.256, allocations: 8 kB / 0.7761 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/1.256, allocations: 11.95 kB / 0.7761 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/1.294, allocations: 9.054 MB / 0.785 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.294, allocations: 0 / 0.785 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005429/1.3, allocations: 0.7254 MB / 0.7857 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/1.301, allocations: 383.2 kB / 0.7861 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006687/1.302, allocations: 75.92 kB / 0.7861 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00762/1.31, allocations: 5.893 MB / 0.7919 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.183e-06/1.31, allocations: 0 / 0.7919 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/1.345, allocations: 7.611 MB / 0.7993 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004003/1.349, allocations: 0.8442 MB / 0.8001 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.35, allocations: 52 kB / 0.8002 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007316/1.358, allocations: 383.3 kB / 0.8006 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/1.359, allocations: 170.1 kB / 0.8007 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006857/1.36, allocations: 103.9 kB / 0.8008 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005462/1.365, allocations: 1.736 MB / 0.8025 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.754e-06/1.365, allocations: 0 / 0.8025 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00702/1.372, allocations: 1.001 MB / 0.8035 GB, free: 68.98 MB / 0.5105 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.008954/1.381, allocations: 0.9927 MB / 0.8045 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.394, allocations: 4.577 MB / 0.8089 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.203e-06/1.394, allocations: 0 / 0.8089 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007019/1.401, allocations: 2.667 MB / 0.8115 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.405, allocations: 0.5616 MB / 0.8121 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.422, allocations: 9.012 MB / 0.8209 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/1.425, allocations: 2.49 MB / 0.8233 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005843/1.431, allocations: 1.116 MB / 0.8244 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.433, allocations: 263.2 kB / 0.8247 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.702e-06/1.433, allocations: 0 / 0.8247 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.08968/1.522, allocations: 42.19 MB / 0.8659 GB, free: 5.344 MB / 0.5105 GB