Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009396/0.009397, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8154/0.8154, allocations: 132.2 MB / 422.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.5813 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4633, allocations: 80.2 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1967/0.6601, allocations: 160.8 MB / 0.8167 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04008/0.7002, allocations: 26.77 MB / 0.8428 GB, free: 9.996 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.7047, allocations: 71.62 kB / 0.8429 GB, free: 9.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.7076, allocations: 1.018 MB / 0.8439 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00527/0.7129, allocations: 1.71 MB / 0.8455 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.7173, allocations: 1.711 MB / 0.8472 GB, free: 5.488 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006089/0.7234, allocations: 4.823 MB / 0.8519 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005714/0.7291, allocations: 4.264 MB / 0.8561 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.7328, allocations: 2.049 MB / 0.8581 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003935/0.7368, allocations: 2.441 MB / 0.8605 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.7384, allocations: 448 kB / 0.8609 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.7413, allocations: 1.054 MB / 0.8619 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.7426, allocations: 1.168 MB / 0.8631 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.7452, allocations: 2.037 MB / 0.8651 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4416/1.187, allocations: 5.792 MB / 0.8707 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.187, allocations: 0.7188 kB / 0.8707 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/1.187, allocations: 0 / 0.8707 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001725/1.187, allocations: 1.375 kB / 0.8707 GB, free: 16.91 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01116/1.198, allocations: 4.492 MB / 0.8751 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.198, allocations: 9.188 kB / 0.8751 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/1.213, allocations: 2.765 MB / 0.8778 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007709/1.22, allocations: 2.295 MB / 0.8801 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/1.221, allocations: 243 kB / 0.8803 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/1.222, allocations: 315.2 kB / 0.8806 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/1.235, allocations: 5.142 MB / 0.8856 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.733e-05/1.235, allocations: 5.906 kB / 0.8856 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/1.235, allocations: 133.7 kB / 0.8857 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-05/1.235, allocations: 79.83 kB / 0.8858 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.25, allocations: 6.291 MB / 0.892 GB, free: 14.11 MB / 0.6856 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.02415/1.274, allocations: 14.41 MB / 0.906 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/1.283, allocations: 4.517 MB / 0.9104 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/1.287, allocations: 2.453 MB / 0.9128 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007559/1.288, allocations: 0.6707 MB / 0.9135 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004709/1.293, allocations: 2.456 MB / 0.9159 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.029e-06/1.293, allocations: 0 / 0.9159 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01703/1.31, allocations: 7.542 MB / 0.9232 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/1.31, allocations: 208.2 kB / 0.9234 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.313, allocations: 2.394 MB / 0.9258 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003348/1.314, allocations: 78.53 kB / 0.9259 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009763/1.315, allocations: 1.353 MB / 0.9272 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00073/1.315, allocations: 0.8938 MB / 0.9281 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/1.316, allocations: 489.9 kB / 0.9285 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/1.316, allocations: 303.9 kB / 0.9288 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/1.32, allocations: 1.976 MB / 0.9307 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/1.324, allocations: 2.276 MB / 0.933 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00818/1.333, allocations: 4.226 MB / 0.9371 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.333, allocations: 3.969 kB / 0.9371 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01013/1.343, allocations: 4.966 MB / 0.9419 GB, free: 128 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.343, allocations: 8 kB / 0.942 GB, free: 120 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.343, allocations: 4 kB / 0.942 GB, free: 116 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/1.344, allocations: 354.4 kB / 0.9423 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.348, allocations: 0.7858 MB / 0.9431 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/1.353, allocations: 4.246 MB / 0.9472 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.357, allocations: 0.5334 MB / 0.9477 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/1.358, allocations: 111.9 kB / 0.9478 GB, free: 10.3 MB / 0.7012 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001999/1.36, allocations: 0.9304 MB / 0.9487 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007772/1.361, allocations: 276.6 kB / 0.949 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.373, allocations: 5.535 MB / 0.9544 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.373, allocations: 28 kB / 0.9544 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.373, allocations: 4 kB / 0.9544 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/1.373, allocations: 11.95 kB / 0.9545 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.392, allocations: 9.29 MB / 0.9635 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/1.392, allocations: 0 / 0.9635 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.396, allocations: 0.7346 MB / 0.9642 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.397, allocations: 395.1 kB / 0.9646 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.397, allocations: 71.94 kB / 0.9647 GB, free: 9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006421/1.403, allocations: 6.285 MB / 0.9708 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.403, allocations: 4 kB / 0.9708 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.421, allocations: 7.93 MB / 0.9786 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.424, allocations: 0.8015 MB / 0.9794 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/1.424, allocations: 55.91 kB / 0.9794 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.427, allocations: 392.6 kB / 0.9798 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.428, allocations: 177.2 kB / 0.98 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.428, allocations: 99.92 kB / 0.9801 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002491/1.43, allocations: 1.745 MB / 0.9818 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.43, allocations: 0 / 0.9818 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003345/1.434, allocations: 1.033 MB / 0.9828 GB, free: 6.102 MB / 0.7325 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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/1.436, allocations: 1.035 MB / 0.9838 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.447, allocations: 4.804 MB / 0.9885 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.447, allocations: 1.203 kB / 0.9885 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005915/1.453, allocations: 2.756 MB / 0.9912 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.457, allocations: 0.6698 MB / 0.9918 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.471, allocations: 7.807 MB / 0.9994 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/1.473, allocations: 2.453 MB / 1.002 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004292/1.477, allocations: 1.103 MB / 1.003 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.478, allocations: 270.3 kB / 1.003 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/1.478, allocations: 3.938 kB / 1.003 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of Templates: time 0.09242/1.571, allocations: 46.78 MB / 1.049 GB, free: 3.43 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)