Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.001095/0.001096, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001051/0.001051, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 55.91 kB / 0.5067 GB, free: 7.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4001, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1732/0.5733, allocations: 163.1 MB / 0.745 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3468/0.9202, allocations: 27.44 MB / 0.7718 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004959/0.9252, allocations: 84.94 kB / 0.7719 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.9305, allocations: 1.131 MB / 0.773 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008872/0.9394, allocations: 1.893 MB / 0.7749 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.9449, allocations: 1.978 MB / 0.7768 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008315/0.9533, allocations: 5.858 MB / 0.7825 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006318/0.9596, allocations: 4.891 MB / 0.7873 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005096/0.9648, allocations: 2.307 MB / 0.7895 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.9693, allocations: 2.827 MB / 0.7923 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.9707, allocations: 0.52 MB / 0.7928 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.9738, allocations: 1.137 MB / 0.7939 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.9753, allocations: 1.358 MB / 0.7952 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003878/0.9791, allocations: 2.393 MB / 0.7976 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.9868, allocations: 6.756 MB / 0.8042 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9868, allocations: 0 / 0.8042 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9868, allocations: 0 / 0.8042 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002244/0.9871, allocations: 0 / 0.8042 GB, free: 14.77 MB / 0.5919 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.01246/0.9995, allocations: 5.106 MB / 0.8092 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9996, allocations: 9.859 kB / 0.8092 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/1.013, allocations: 2.833 MB / 0.8119 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006221/1.019, allocations: 2.545 MB / 0.8144 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/1.02, allocations: 279.3 kB / 0.8147 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/1.021, allocations: 368.7 kB / 0.815 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/1.034, allocations: 5.731 MB / 0.8206 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/1.034, allocations: 4.625 kB / 0.8206 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/1.035, allocations: 152.5 kB / 0.8208 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/1.035, allocations: 90.41 kB / 0.8209 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/1.051, allocations: 6.86 MB / 0.8276 GB, free: 1.559 MB / 0.5919 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.03546/1.087, allocations: 17.25 MB / 0.8444 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.097, allocations: 4.483 MB / 0.8488 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006709/1.104, allocations: 2.943 MB / 0.8517 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.105, allocations: 0.6741 MB / 0.8523 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007209/1.112, allocations: 2.729 MB / 0.855 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 6.933e-06/1.112, allocations: 0 / 0.855 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02995/1.142, allocations: 9.697 MB / 0.8645 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.142, allocations: 218.4 kB / 0.8647 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/1.148, allocations: 2.658 MB / 0.8673 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009911/1.149, allocations: 89.69 kB / 0.8674 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.15, allocations: 1.528 MB / 0.8688 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002072/1.153, allocations: 1.057 MB / 0.8699 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002764/1.155, allocations: 0.5369 MB / 0.8704 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.155, allocations: 301.1 kB / 0.8707 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005764/1.161, allocations: 2.176 MB / 0.8728 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006399/1.168, allocations: 2.534 MB / 0.8753 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.18, allocations: 4.704 MB / 0.8799 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/1.18, allocations: 4 kB / 0.8799 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01748/1.198, allocations: 5.802 MB / 0.8856 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.198, allocations: 7.984 kB / 0.8856 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.198, allocations: 8.156 kB / 0.8856 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/1.2, allocations: 0.8426 MB / 0.8864 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/1.205, allocations: 0.8041 MB / 0.8872 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/1.217, allocations: 7.553 MB / 0.8946 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/1.221, allocations: 0.5656 MB / 0.8951 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/1.222, allocations: 119.9 kB / 0.8952 GB, free: 11.34 MB / 0.67 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.003195/1.225, allocations: 1.033 MB / 0.8962 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.227, allocations: 304.2 kB / 0.8965 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.244, allocations: 6.384 MB / 0.9028 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/1.244, allocations: 28 kB / 0.9028 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/1.244, allocations: 12 kB / 0.9028 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/1.244, allocations: 15.94 kB / 0.9028 GB, free: 3.555 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.27, allocations: 10.73 MB / 0.9133 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.27, allocations: 4 kB / 0.9133 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/1.274, allocations: 0.7628 MB / 0.914 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/1.276, allocations: 0.7471 MB / 0.9148 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007045/1.277, allocations: 79.94 kB / 0.9148 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.29, allocations: 10.66 MB / 0.9253 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.29, allocations: 4 kB / 0.9253 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/1.313, allocations: 9.075 MB / 0.9341 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003064/1.316, allocations: 0.8986 MB / 0.935 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.317, allocations: 71.83 kB / 0.9351 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/1.321, allocations: 395.4 kB / 0.9354 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/1.322, allocations: 210.3 kB / 0.9356 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000618/1.323, allocations: 107.9 kB / 0.9357 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003607/1.326, allocations: 1.936 MB / 0.9376 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/1.326, allocations: 0 / 0.9376 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0046/1.331, allocations: 1.219 MB / 0.9388 GB, free: 14.19 MB / 0.7169 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.003037/1.334, allocations: 1.052 MB / 0.9399 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.348, allocations: 5.515 MB / 0.9452 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.348, allocations: 0 / 0.9452 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008407/1.357, allocations: 3.32 MB / 0.9485 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/1.362, allocations: 0.7691 MB / 0.9492 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.382, allocations: 8.91 MB / 0.9579 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/1.386, allocations: 2.695 MB / 0.9606 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005669/1.392, allocations: 1.161 MB / 0.9617 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.394, allocations: 275.3 kB / 0.962 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/1.394, allocations: 0 / 0.962 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.09567/1.49, allocations: 54.64 MB / 1.015 GB, free: 0.7891 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)