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.005917/0.005917, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001242/0.001242, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.84 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1718, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6664/0.8382, allocations: 160.8 MB / 0.8166 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03692/0.8752, allocations: 26.78 MB / 0.8428 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.8792, allocations: 75.72 kB / 0.8429 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.8822, allocations: 1.011 MB / 0.8439 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.8886, allocations: 1.675 MB / 0.8455 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005577/0.8942, allocations: 1.7 MB / 0.8472 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008196/0.9024, allocations: 4.827 MB / 0.8519 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007239/0.9097, allocations: 4.253 MB / 0.856 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004816/0.9145, allocations: 2.016 MB / 0.858 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00513/0.9196, allocations: 2.444 MB / 0.8604 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.9226, allocations: 450.6 kB / 0.8608 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.9282, allocations: 1.061 MB / 0.8618 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.9306, allocations: 1.162 MB / 0.863 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005305/0.9359, allocations: 2.033 MB / 0.865 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.947, allocations: 5.817 MB / 0.8706 GB, free: 156 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.947, allocations: 0.9062 kB / 0.8706 GB, free: 156 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.947, allocations: 0 / 0.8706 GB, free: 156 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002867/0.9473, allocations: 0.9062 kB / 0.8706 GB, free: 156 kB / 0.6387 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.01471/0.9621, allocations: 4.618 MB / 0.8752 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9621, allocations: 11 kB / 0.8752 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.9758, allocations: 2.791 MB / 0.8779 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/0.9819, allocations: 2.309 MB / 0.8801 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.9824, allocations: 239.9 kB / 0.8804 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/0.9842, allocations: 323.4 kB / 0.8807 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/1.001, allocations: 5.135 MB / 0.8857 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.61e-05/1.001, allocations: 6.422 kB / 0.8857 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006568/1.002, allocations: 134.8 kB / 0.8858 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.688e-05/1.002, allocations: 85.8 kB / 0.8859 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/1.017, allocations: 6.291 MB / 0.8921 GB, free: 5.832 MB / 0.6544 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.03091/1.048, allocations: 14.45 MB / 0.9062 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.06, allocations: 4.511 MB / 0.9106 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005821/1.065, allocations: 2.458 MB / 0.913 GB, free: 1.613 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/1.067, allocations: 0.6713 MB / 0.9136 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006091/1.073, allocations: 2.461 MB / 0.916 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.04e-06/1.073, allocations: 0 / 0.916 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.02061/1.093, allocations: 7.546 MB / 0.9234 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.093, allocations: 222 kB / 0.9236 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/1.098, allocations: 2.386 MB / 0.9259 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006451/1.098, allocations: 80.78 kB / 0.926 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.1, allocations: 1.37 MB / 0.9274 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.101, allocations: 0.9496 MB / 0.9283 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/1.103, allocations: 496.6 kB / 0.9288 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.103, allocations: 305.1 kB / 0.929 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005298/1.108, allocations: 1.968 MB / 0.931 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00576/1.114, allocations: 2.269 MB / 0.9332 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/1.125, allocations: 4.229 MB / 0.9373 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.125, allocations: 4 kB / 0.9373 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01358/1.138, allocations: 4.975 MB / 0.9422 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.138, allocations: 4 kB / 0.9422 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.139, allocations: 4 kB / 0.9422 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/1.139, allocations: 354.1 kB / 0.9425 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/1.144, allocations: 0.7806 MB / 0.9433 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/1.15, allocations: 4.253 MB / 0.9474 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.154, allocations: 0.5466 MB / 0.948 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008392/1.155, allocations: 107.9 kB / 0.9481 GB, free: 13.07 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 (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.002905/1.158, allocations: 0.9316 MB / 0.949 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.159, allocations: 282.2 kB / 0.9492 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.176, allocations: 5.54 MB / 0.9547 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/1.176, allocations: 28 kB / 0.9547 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.176, allocations: 8 kB / 0.9547 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-05/1.176, allocations: 15.94 kB / 0.9547 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.2, allocations: 9.292 MB / 0.9638 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.2, allocations: 3.938 kB / 0.9638 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00422/1.204, allocations: 0.7307 MB / 0.9645 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/1.206, allocations: 387 kB / 0.9649 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006572/1.206, allocations: 71.94 kB / 0.9649 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007624/1.214, allocations: 6.304 MB / 0.9711 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.214, allocations: 7.938 kB / 0.9711 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/1.238, allocations: 7.929 MB / 0.9788 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/1.241, allocations: 0.8147 MB / 0.9796 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/1.243, allocations: 64.22 kB / 0.9797 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/1.247, allocations: 391.4 kB / 0.9801 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009527/1.248, allocations: 181 kB / 0.9802 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007936/1.249, allocations: 99.94 kB / 0.9803 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004277/1.253, allocations: 1.753 MB / 0.9821 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.253, allocations: 0 / 0.9821 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005365/1.258, allocations: 1.029 MB / 0.9831 GB, free: 8.801 MB / 0.7481 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.003567/1.262, allocations: 1.028 MB / 0.9841 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.276, allocations: 4.816 MB / 0.9888 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.276, allocations: 0 / 0.9888 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007714/1.284, allocations: 2.764 MB / 0.9915 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005363/1.289, allocations: 0.6744 MB / 0.9921 GB, free: 36 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.309, allocations: 7.913 MB / 0.9999 GB, free: 8.086 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.312, allocations: 2.452 MB / 1.002 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005684/1.318, allocations: 1.11 MB / 1.003 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/1.32, allocations: 263.2 kB / 1.004 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of SimCode: time 1.122e-06/1.32, allocations: 0 / 1.004 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of Templates: time 0.0863/1.407, allocations: 46.79 MB / 1.049 GB, free: 5.91 MB / 0.8106 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)