Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003909/0.003914, allocations: 354.7 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.483/1.483, allocations: 165.8 MB / 182.5 MB, free: 5.438 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.647/3.647, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001733/0.001732, allocations: 181.6 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 15.98 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3288, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5819/0.9107, allocations: 146.5 MB / 0.9512 GB, free: 2.164 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.03298/0.9437, allocations: 24.46 MB / 0.9751 GB, free: 1.82 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.9474, allocations: 68.78 kB / 0.9752 GB, free: 1.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.9501, allocations: 0.951 MB / 0.9761 GB, free: 1.82 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.9578, allocations: 2.184 MB / 0.9782 GB, free: 1.793 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006221/0.9641, allocations: 1.7 MB / 0.9799 GB, free: 1.746 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006572/0.9707, allocations: 4.867 MB / 0.9847 GB, free: 1.734 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.9752, allocations: 3.031 MB / 0.9876 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.9774, allocations: 1.382 MB / 0.989 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.9802, allocations: 1.926 MB / 0.9908 GB, free: 372 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005152/0.9808, allocations: 122.6 kB / 0.991 GB, free: 368 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.9828, allocations: 0.5496 MB / 0.9915 GB, free: 308 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.9838, allocations: 0.765 MB / 0.9922 GB, free: 112 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.9849, allocations: 0.6751 MB / 0.9929 GB, free: 80 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.9914, allocations: 4.575 MB / 0.9974 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.9914, allocations: 3.984 kB / 0.9974 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.389e-06/0.9914, allocations: 4.547 kB / 0.9974 GB, free: 13.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001024/0.9915, allocations: 0 / 0.9974 GB, free: 13.54 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.009863/1.001, allocations: 4.006 MB / 1.001 GB, free: 11.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.001, allocations: 8.375 kB / 1.001 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/1.017, allocations: 2.721 MB / 1.004 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006287/1.023, allocations: 2.275 MB / 1.006 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/1.024, allocations: 255.5 kB / 1.006 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000965/1.025, allocations: 334.6 kB / 1.007 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/1.04, allocations: 5.222 MB / 1.012 GB, free: 4.129 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/1.04, allocations: 4 kB / 1.012 GB, free: 4.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/1.041, allocations: 140.4 kB / 1.012 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-05/1.041, allocations: 80 kB / 1.012 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.061, allocations: 6.339 MB / 1.018 GB, free: 15.12 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.03632/1.098, allocations: 15.46 MB / 1.033 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.11, allocations: 4.098 MB / 1.037 GB, free: 8 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007352/1.117, allocations: 2.651 MB / 1.04 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/1.118, allocations: 0.6732 MB / 1.041 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007282/1.126, allocations: 2.467 MB / 1.043 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 8.297e-06/1.126, allocations: 0 / 1.043 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=286): time 0.02829/1.154, allocations: 8.029 MB / 1.051 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.154, allocations: 210.2 kB / 1.051 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/1.159, allocations: 2.484 MB / 1.053 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006344/1.16, allocations: 73.7 kB / 1.054 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.162, allocations: 1.408 MB / 1.055 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.163, allocations: 0.9516 MB / 1.056 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.163, allocations: 52 kB / 1.056 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003057/1.164, allocations: 414.9 kB / 1.056 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/1.17, allocations: 1.968 MB / 1.058 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007111/1.177, allocations: 2.277 MB / 1.06 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/1.184, allocations: 2.131 MB / 1.063 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/1.184, allocations: 0 / 1.063 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01657/1.201, allocations: 5.134 MB / 1.068 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/1.201, allocations: 10.91 kB / 1.068 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.201, allocations: 5.859 kB / 1.068 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/1.203, allocations: 0.5569 MB / 1.068 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005375/1.208, allocations: 0.7533 MB / 1.069 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.219, allocations: 5.29 MB / 1.074 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/1.224, allocations: 0.5241 MB / 1.075 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007226/1.225, allocations: 111.9 kB / 1.075 GB, free: 12.33 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 (280): * Single equations (assignments): 279 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002947/1.228, allocations: 0.9582 MB / 1.076 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008755/1.228, allocations: 284.4 kB / 1.076 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.247, allocations: 5.703 MB / 1.081 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/1.247, allocations: 28 kB / 1.081 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.247, allocations: 8 kB / 1.081 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.821e-05/1.247, allocations: 15.94 kB / 1.081 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/1.275, allocations: 9.627 MB / 1.091 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.275, allocations: 0 / 1.091 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005204/1.28, allocations: 0.7078 MB / 1.092 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/1.282, allocations: 0.5216 MB / 1.092 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/1.283, allocations: 75.94 kB / 1.092 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/1.295, allocations: 6.964 MB / 1.099 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-06/1.295, allocations: 0 / 1.099 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.32, allocations: 8.08 MB / 1.107 GB, free: 11 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0028/1.323, allocations: 0.8753 MB / 1.108 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/1.324, allocations: 55.98 kB / 1.108 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.328, allocations: 391.3 kB / 1.108 GB, free: 9.664 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/1.329, allocations: 192.5 kB / 1.108 GB, free: 9.477 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004752/1.329, allocations: 103.9 kB / 1.108 GB, free: 9.375 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003744/1.333, allocations: 1.79 MB / 1.11 GB, free: 7.574 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.94e-07/1.333, allocations: 0 / 1.11 GB, free: 7.574 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004433/1.337, allocations: 1.081 MB / 1.111 GB, free: 6.492 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (257): * Single equations (assignments): 250 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003676/1.341, allocations: 0.9766 MB / 1.112 GB, free: 5.898 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01517/1.356, allocations: 4.904 MB / 1.117 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.954e-06/1.356, allocations: 0 / 1.117 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00848/1.365, allocations: 2.855 MB / 1.12 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.369, allocations: 0.6656 MB / 1.12 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.391, allocations: 9.566 MB / 1.13 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.395, allocations: 2.604 MB / 1.132 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006486/1.402, allocations: 1.11 MB / 1.133 GB, free: 168 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.403, allocations: 265.8 kB / 1.134 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.825e-06/1.403, allocations: 4 kB / 1.134 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.4303/1.834, allocations: 45.18 MB / 1.178 GB, free: 254.6 MB / 0.6198 GB