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.006296/0.006296, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001344/0.001344, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.297/1.297, allocations: 222.9 MB / 240.4 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.8246/0.8246, allocations: 135.1 MB / 425.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 65.58 kB / 0.5856 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1776, allocations: 80.92 MB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6222/0.7998, allocations: 163.1 MB / 0.8239 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0355/0.8354, allocations: 27.46 MB / 0.8507 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.8397, allocations: 85.41 kB / 0.8508 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.8431, allocations: 1.133 MB / 0.8519 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.8494, allocations: 1.925 MB / 0.8538 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.8547, allocations: 1.98 MB / 0.8557 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01081/0.8655, allocations: 5.868 MB / 0.8614 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.8761, allocations: 4.875 MB / 0.8662 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.8828, allocations: 2.342 MB / 0.8685 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006704/0.8896, allocations: 2.826 MB / 0.8712 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.892, allocations: 0.5195 MB / 0.8717 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.8969, allocations: 1.136 MB / 0.8729 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.8998, allocations: 1.363 MB / 0.8742 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00589/0.9057, allocations: 2.387 MB / 0.8765 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.9183, allocations: 6.765 MB / 0.8831 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9184, allocations: 4 kB / 0.8831 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9184, allocations: 0 / 0.8831 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002778/0.9187, allocations: 0 / 0.8831 GB, free: 15.29 MB / 0.6544 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.01839/0.9371, allocations: 5.106 MB / 0.8881 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.9371, allocations: 13.11 kB / 0.8881 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.951, allocations: 2.83 MB / 0.8909 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/0.9571, allocations: 2.531 MB / 0.8934 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.9575, allocations: 279.5 kB / 0.8936 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.9588, allocations: 383.9 kB / 0.894 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.9734, allocations: 5.72 MB / 0.8996 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.9736, allocations: 7.984 kB / 0.8996 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008309/0.9744, allocations: 156 kB / 0.8997 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.9745, allocations: 95.94 kB / 0.8998 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.9899, allocations: 6.854 MB / 0.9065 GB, free: 7.098 MB / 0.67 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.031/1.021, allocations: 17.25 MB / 0.9234 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009229/1.03, allocations: 4.484 MB / 0.9277 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005598/1.036, allocations: 2.943 MB / 0.9306 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/1.037, allocations: 0.6738 MB / 0.9313 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005756/1.043, allocations: 2.733 MB / 0.9339 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 5.631e-06/1.043, allocations: 0 / 0.9339 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02367/1.066, allocations: 9.69 MB / 0.9434 GB, free: 264 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.066, allocations: 214.4 kB / 0.9436 GB, free: 4 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/1.071, allocations: 2.662 MB / 0.9462 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/1.071, allocations: 81.7 kB / 0.9463 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.073, allocations: 1.538 MB / 0.9478 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.074, allocations: 1.047 MB / 0.9488 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.076, allocations: 0.5447 MB / 0.9493 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.076, allocations: 301.1 kB / 0.9496 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004891/1.081, allocations: 2.183 MB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.087, allocations: 2.521 MB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.097, allocations: 4.708 MB / 0.9588 GB, free: 208 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.097, allocations: 4 kB / 0.9588 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01307/1.11, allocations: 5.8 MB / 0.9645 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.11, allocations: 9.984 kB / 0.9645 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.11, allocations: 7.938 kB / 0.9645 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/1.112, allocations: 0.8396 MB / 0.9653 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/1.116, allocations: 0.8073 MB / 0.9661 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.127, allocations: 7.557 MB / 0.9735 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.13, allocations: 0.5671 MB / 0.9741 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/1.131, allocations: 127.9 kB / 0.9742 GB, free: 288 kB / 0.7325 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.00286/1.134, allocations: 1.029 MB / 0.9752 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.135, allocations: 312.1 kB / 0.9755 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/1.15, allocations: 6.376 MB / 0.9817 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.15, allocations: 32 kB / 0.9817 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/1.15, allocations: 8 kB / 0.9817 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/1.15, allocations: 15.94 kB / 0.9818 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.171, allocations: 10.72 MB / 0.9922 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.171, allocations: 0 / 0.9922 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003599/1.174, allocations: 0.7683 MB / 0.993 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/1.176, allocations: 0.7301 MB / 0.9937 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/1.176, allocations: 95.86 kB / 0.9938 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.189, allocations: 10.66 MB / 1.004 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.189, allocations: 3.938 kB / 1.004 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/1.207, allocations: 9.072 MB / 1.013 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.209, allocations: 0.8985 MB / 1.014 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.209, allocations: 67.84 kB / 1.014 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.212, allocations: 405.5 kB / 1.014 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/1.213, allocations: 210.3 kB / 1.015 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.213, allocations: 111.9 kB / 1.015 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002568/1.215, allocations: 1.928 MB / 1.017 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.215, allocations: 0 / 1.017 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003448/1.219, allocations: 1.231 MB / 1.018 GB, free: 2.855 MB / 0.7794 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.002526/1.221, allocations: 1.036 MB / 1.019 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.232, allocations: 5.52 MB / 1.024 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.232, allocations: 0 / 1.024 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006189/1.239, allocations: 3.325 MB / 1.027 GB, free: 9.227 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.242, allocations: 0.7657 MB / 1.028 GB, free: 8.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.257, allocations: 8.913 MB / 1.037 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.26, allocations: 2.695 MB / 1.04 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004031/1.264, allocations: 1.161 MB / 1.041 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.265, allocations: 279.2 kB / 1.041 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.265, allocations: 0 / 1.041 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.479/1.744, allocations: 55.49 MB / 1.095 GB, free: 307.3 MB / 0.8262 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 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)