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.00114/0.00114, allocations: 109.4 kB / 16.42 MB, free: 6.426 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.001156/0.001157, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7842/0.7842, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.95 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.2 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5076/0.6439, allocations: 163.1 MB / 0.8196 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03518/0.6792, allocations: 27.45 MB / 0.8464 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.6828, allocations: 81.22 kB / 0.8465 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.6855, allocations: 1.141 MB / 0.8476 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.6906, allocations: 1.926 MB / 0.8495 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00461/0.6952, allocations: 1.982 MB / 0.8514 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006414/0.7017, allocations: 5.865 MB / 0.8571 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006038/0.7077, allocations: 4.884 MB / 0.8619 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.7117, allocations: 2.351 MB / 0.8642 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.7157, allocations: 2.818 MB / 0.8669 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009072/0.7166, allocations: 0.5195 MB / 0.8675 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.7189, allocations: 1.128 MB / 0.8686 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.7201, allocations: 1.367 MB / 0.8699 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.7226, allocations: 2.387 MB / 0.8722 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007235/0.7299, allocations: 6.784 MB / 0.8788 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.7299, allocations: 0 / 0.8788 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7299, allocations: 7.938 kB / 0.8789 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.499e-05/0.73, allocations: 0 / 0.8789 GB, free: 5.988 MB / 0.6387 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.009768/0.7398, allocations: 5.221 MB / 0.884 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.7399, allocations: 12.03 kB / 0.884 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.7537, allocations: 2.856 MB / 0.8868 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/0.7581, allocations: 2.568 MB / 0.8893 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.7583, allocations: 279.5 kB / 0.8895 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005879/0.7589, allocations: 364 kB / 0.8899 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.7701, allocations: 5.736 MB / 0.8955 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.7702, allocations: 0 / 0.8955 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.7706, allocations: 152 kB / 0.8956 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.7707, allocations: 99.94 kB / 0.8957 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.786, allocations: 6.854 MB / 0.9024 GB, free: 13.63 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.02768/0.8137, allocations: 17.3 MB / 0.9193 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009365/0.8231, allocations: 4.488 MB / 0.9237 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005711/0.8288, allocations: 2.943 MB / 0.9266 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009513/0.8298, allocations: 0.6777 MB / 0.9272 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005608/0.8354, allocations: 2.721 MB / 0.9299 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 5.451e-06/0.8354, allocations: 4 kB / 0.9299 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02412/0.8596, allocations: 9.708 MB / 0.9394 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.8597, allocations: 214.4 kB / 0.9396 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.8629, allocations: 2.662 MB / 0.9422 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.8632, allocations: 81.7 kB / 0.9422 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.8644, allocations: 1.568 MB / 0.9438 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008748/0.8653, allocations: 1.1 MB / 0.9449 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009416/0.8663, allocations: 0.5409 MB / 0.9454 GB, free: 476 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.8664, allocations: 309.1 kB / 0.9457 GB, free: 164 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/0.8711, allocations: 2.179 MB / 0.9478 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.8761, allocations: 2.525 MB / 0.9503 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009765/0.8859, allocations: 4.708 MB / 0.9549 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8859, allocations: 0 / 0.9549 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01236/0.8983, allocations: 5.821 MB / 0.9605 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.8983, allocations: 9.875 kB / 0.9606 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8984, allocations: 4 kB / 0.9606 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.9001, allocations: 0.8396 MB / 0.9614 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/0.9041, allocations: 0.8151 MB / 0.9622 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.9142, allocations: 7.567 MB / 0.9696 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/0.9179, allocations: 0.5679 MB / 0.9701 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.9182, allocations: 124 kB / 0.9702 GB, free: 6.648 MB / 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.001881/0.9201, allocations: 1.028 MB / 0.9712 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.9207, allocations: 325.9 kB / 0.9716 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.9347, allocations: 6.388 MB / 0.9778 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/0.9347, allocations: 15.94 kB / 0.9778 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.9348, allocations: 0 / 0.9778 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/0.9364, allocations: 0.9159 MB / 0.9787 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.9369, allocations: 67.89 kB / 0.9788 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/0.9398, allocations: 397.3 kB / 0.9791 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.9403, allocations: 246.2 kB / 0.9794 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0152/0.9555, allocations: 6.215 MB / 0.9855 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01692/0.9725, allocations: 8.603 MB / 0.9939 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005022/0.9775, allocations: 2.534 MB / 0.9963 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00259/0.9801, allocations: 1.928 MB / 0.9982 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of Backend: time 4.61e-07/0.9801, allocations: 0 / 0.9982 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0107/0.9908, allocations: 4.602 MB / 1.003 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01164/1.002, allocations: 8.191 MB / 1.011 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.4102/1.413, allocations: 64.8 MB / 1.074 GB, free: 298 MB / 0.8106 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)