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.002377/0.002381, allocations: 354.8 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.504/1.504, allocations: 165.8 MB / 182.5 MB, free: 5.383 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.798/3.798, allocations: 410.8 MB / 0.5995 GB, free: 15.17 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.001699/0.001699, allocations: 190 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 16 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3273, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.595/0.9224, allocations: 145.1 MB / 0.9498 GB, free: 2.18 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.03236/0.9548, allocations: 24.03 MB / 0.9733 GB, free: 1.855 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.958, allocations: 60.75 kB / 0.9733 GB, free: 1.855 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.9603, allocations: 0.9032 MB / 0.9742 GB, free: 1.855 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007154/0.9675, allocations: 2.045 MB / 0.9762 GB, free: 1.832 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005889/0.9734, allocations: 1.596 MB / 0.9778 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.9791, allocations: 4.238 MB / 0.9819 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.9831, allocations: 2.741 MB / 0.9846 GB, free: 1.41 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.9852, allocations: 1.244 MB / 0.9858 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.9879, allocations: 1.701 MB / 0.9875 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.9884, allocations: 98.97 kB / 0.9876 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.9903, allocations: 0.5294 MB / 0.9881 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006833/0.991, allocations: 0.6658 MB / 0.9887 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007635/0.9918, allocations: 0.5977 MB / 0.9893 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.9976, allocations: 4.023 MB / 0.9932 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.179e-06/0.9977, allocations: 0 / 0.9932 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.869e-06/0.9977, allocations: 2.531 kB / 0.9932 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.9978, allocations: 0 / 0.9932 GB, free: 14.39 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.0136/1.011, allocations: 3.643 MB / 0.9968 GB, free: 12.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.011, allocations: 8.344 kB / 0.9968 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02966/1.041, allocations: 2.684 MB / 0.9994 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009156/1.05, allocations: 2.086 MB / 1.001 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/1.051, allocations: 224.4 kB / 1.002 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/1.052, allocations: 293.5 kB / 1.002 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/1.078, allocations: 4.8 MB / 1.007 GB, free: 7.004 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/1.079, allocations: 10.5 kB / 1.007 GB, free: 6.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008786/1.08, allocations: 126 kB / 1.007 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.08, allocations: 72 kB / 1.007 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.105, allocations: 5.917 MB / 1.013 GB, free: 2.281 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.03245/1.137, allocations: 13.39 MB / 1.026 GB, free: 7.816 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1.151, allocations: 4.354 MB / 1.03 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006436/1.157, allocations: 2.21 MB / 1.032 GB, free: 3.152 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.159, allocations: 0.6749 MB / 1.033 GB, free: 2.379 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006741/1.165, allocations: 2.265 MB / 1.035 GB, free: 0.6328 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=255): time 7.796e-06/1.165, allocations: 0 / 1.035 GB, free: 0.6328 MB / 0.4949 GB Notification: Performance of matching and sorting (n=255): time 0.02166/1.187, allocations: 6.652 MB / 1.041 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/1.187, allocations: 214.7 kB / 1.042 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/1.191, allocations: 2.268 MB / 1.044 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006187/1.192, allocations: 76.31 kB / 1.044 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.194, allocations: 1.271 MB / 1.045 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.195, allocations: 0.8417 MB / 1.046 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.195, allocations: 54.44 kB / 1.046 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000299/1.196, allocations: 396.5 kB / 1.046 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005963/1.202, allocations: 1.8 MB / 1.048 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/1.209, allocations: 2.094 MB / 1.05 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/1.215, allocations: 1.946 MB / 1.052 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/1.215, allocations: 0 / 1.052 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01514/1.23, allocations: 4.521 MB / 1.057 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/1.23, allocations: 8 kB / 1.057 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.23, allocations: 6.531 kB / 1.057 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/1.231, allocations: 238.6 kB / 1.057 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.236, allocations: 0.7312 MB / 1.058 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/1.242, allocations: 3.095 MB / 1.061 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/1.247, allocations: 0.4936 MB / 1.061 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005868/1.247, allocations: 107.9 kB / 1.061 GB, free: 9.184 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 (270): * Single equations (assignments): 269 * 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.002642/1.25, allocations: 0.8854 MB / 1.062 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/1.251, allocations: 254.6 kB / 1.062 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/1.268, allocations: 5.075 MB / 1.067 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.268, allocations: 24 kB / 1.067 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.268, allocations: 4 kB / 1.067 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/1.268, allocations: 11.95 kB / 1.067 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02486/1.293, allocations: 8.551 MB / 1.076 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.293, allocations: 0 / 1.076 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004916/1.298, allocations: 0.6819 MB / 1.076 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.299, allocations: 260.9 kB / 1.077 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005656/1.3, allocations: 73.89 kB / 1.077 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006919/1.307, allocations: 4.789 MB / 1.081 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.434e-06/1.307, allocations: 4.031 kB / 1.081 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/1.329, allocations: 7.209 MB / 1.088 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/1.332, allocations: 0.8093 MB / 1.089 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.332, allocations: 44 kB / 1.089 GB, free: 12.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003874/1.336, allocations: 383.3 kB / 1.089 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/1.337, allocations: 164.5 kB / 1.09 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004281/1.337, allocations: 95.92 kB / 1.09 GB, free: 11.45 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003492/1.341, allocations: 1.652 MB / 1.091 GB, free: 9.773 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1e-06/1.341, allocations: 3.938 kB / 1.091 GB, free: 9.77 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.003901/1.345, allocations: 0.9522 MB / 1.092 GB, free: 8.816 MB / 0.5574 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.003604/1.349, allocations: 0.9552 MB / 1.093 GB, free: 8.246 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01394/1.363, allocations: 4.378 MB / 1.097 GB, free: 3.859 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.363, allocations: 4 kB / 1.097 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007626/1.37, allocations: 2.503 MB / 1.1 GB, free: 1.367 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.374, allocations: 0.592 MB / 1.101 GB, free: 0.7852 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.395, allocations: 8.617 MB / 1.109 GB, free: 8.133 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.399, allocations: 2.408 MB / 1.111 GB, free: 5.691 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006398/1.406, allocations: 1.066 MB / 1.112 GB, free: 4.629 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/1.407, allocations: 247.3 kB / 1.113 GB, free: 4.387 MB / 0.573 GB Notification: Performance of SimCode: time 2e-06/1.407, allocations: 1.859 kB / 1.113 GB, free: 4.387 MB / 0.573 GB Notification: Performance of Templates: time 0.0999/1.507, allocations: 39.37 MB / 1.151 GB, free: 13.37 MB / 0.6199 GB