Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005239/0.005239, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001277/0.001277, allocations: 194 kB / 16.67 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7949/0.7949, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.91 kB / 0.5813 GB, free: 7.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4622, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1906/0.6529, allocations: 163.1 MB / 0.8189 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03923/0.6922, allocations: 27.45 MB / 0.8457 GB, free: 7.082 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.6969, allocations: 83.56 kB / 0.8458 GB, free: 7 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.6998, allocations: 1.13 MB / 0.8469 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.7055, allocations: 1.891 MB / 0.8488 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.7105, allocations: 1.981 MB / 0.8507 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.718, allocations: 5.849 MB / 0.8564 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005812/0.7239, allocations: 4.889 MB / 0.8612 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.7276, allocations: 2.309 MB / 0.8634 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.7313, allocations: 2.826 MB / 0.8662 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008048/0.7322, allocations: 0.5195 MB / 0.8667 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.7345, allocations: 1.132 MB / 0.8678 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.4116/1.146, allocations: 1.36 MB / 0.8691 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004589/1.151, allocations: 2.391 MB / 0.8715 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/1.163, allocations: 6.783 MB / 0.8781 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/1.163, allocations: 4.188 kB / 0.8781 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.336e-06/1.163, allocations: 0 / 0.8781 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002328/1.164, allocations: 0 / 0.8781 GB, free: 12.61 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01495/1.179, allocations: 5.232 MB / 0.8832 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.179, allocations: 10.12 kB / 0.8832 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/1.193, allocations: 2.852 MB / 0.886 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008234/1.201, allocations: 2.566 MB / 0.8885 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/1.201, allocations: 282.5 kB / 0.8888 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/1.203, allocations: 369.9 kB / 0.8891 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/1.221, allocations: 5.724 MB / 0.8947 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-05/1.221, allocations: 6.203 kB / 0.8947 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/1.221, allocations: 157.5 kB / 0.8949 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.221, allocations: 93.06 kB / 0.895 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/1.238, allocations: 6.854 MB / 0.9017 GB, free: 9.258 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.03205/1.271, allocations: 17.29 MB / 0.9185 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009094/1.28, allocations: 4.489 MB / 0.9229 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.285, allocations: 2.948 MB / 0.9258 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/1.286, allocations: 0.6798 MB / 0.9265 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005189/1.291, allocations: 2.717 MB / 0.9291 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 4.969e-06/1.291, allocations: 0 / 0.9291 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02403/1.315, allocations: 9.708 MB / 0.9386 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.315, allocations: 222.5 kB / 0.9388 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.32, allocations: 2.663 MB / 0.9414 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004555/1.32, allocations: 80.98 kB / 0.9415 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.322, allocations: 1.569 MB / 0.943 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.323, allocations: 1.103 MB / 0.9441 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000978/1.324, allocations: 0.534 MB / 0.9446 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002439/1.324, allocations: 314.5 kB / 0.9449 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/1.328, allocations: 2.175 MB / 0.9471 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/1.334, allocations: 2.53 MB / 0.9495 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.344, allocations: 4.712 MB / 0.9541 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.344, allocations: 0 / 0.9541 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01388/1.358, allocations: 5.818 MB / 0.9598 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.358, allocations: 11.94 kB / 0.9598 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.358, allocations: 7.984 kB / 0.9598 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.36, allocations: 0.8396 MB / 0.9606 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.364, allocations: 0.8026 MB / 0.9614 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.375, allocations: 7.572 MB / 0.9688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/1.381, allocations: 0.5724 MB / 0.9694 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005696/1.381, allocations: 119.9 kB / 0.9695 GB, free: 4.328 MB / 0.7169 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003037/1.384, allocations: 1.025 MB / 0.9705 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009761/1.385, allocations: 329.8 kB / 0.9708 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.4, allocations: 6.38 MB / 0.977 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.4, allocations: 32 kB / 0.9771 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.4, allocations: 12 kB / 0.9771 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/1.4, allocations: 15.94 kB / 0.9771 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.422, allocations: 10.73 MB / 0.9876 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.422, allocations: 4 kB / 0.9876 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/1.426, allocations: 0.7659 MB / 0.9883 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.428, allocations: 0.741 MB / 0.989 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003029/1.428, allocations: 79.94 kB / 0.9891 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.44, allocations: 10.66 MB / 0.9995 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.44, allocations: 7.172 kB / 0.9995 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02139/1.461, allocations: 9.096 MB / 1.008 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.464, allocations: 0.9081 MB / 1.009 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007504/1.465, allocations: 71.89 kB / 1.009 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/1.468, allocations: 409.8 kB / 1.01 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005605/1.469, allocations: 217.4 kB / 1.01 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/1.469, allocations: 103.9 kB / 1.01 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003033/1.472, allocations: 1.932 MB / 1.012 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4e-07/1.472, allocations: 0 / 1.012 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004569/1.477, allocations: 1.228 MB / 1.013 GB, free: 7.121 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.002888/1.48, allocations: 1.043 MB / 1.014 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.493, allocations: 5.519 MB / 1.02 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.493, allocations: 3.781 kB / 1.02 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/1.501, allocations: 3.337 MB / 1.023 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/1.505, allocations: 0.778 MB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.523, allocations: 9.026 MB / 1.032 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.526, allocations: 2.691 MB / 1.035 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004617/1.531, allocations: 1.161 MB / 1.036 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.532, allocations: 275.3 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of SimCode: time 1.253e-06/1.532, allocations: 0 / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of Templates: time 0.09393/1.626, allocations: 55.5 MB / 1.091 GB, free: 8.934 MB / 0.8419 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)