Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001257/0.001257, allocations: 113 kB / 17.09 MB, free: 5.98 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.001313/0.001313, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.21/1.21, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6676/0.6676, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 66.06 kB / 0.5583 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 76.18 MB / 0.6327 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4161/0.5262, allocations: 165 MB / 0.7938 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02768/0.5539, allocations: 27.81 MB / 0.821 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.5571, allocations: 83.41 kB / 0.8211 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.5597, allocations: 1.194 MB / 0.8222 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.5648, allocations: 2.077 MB / 0.8243 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.5691, allocations: 2.079 MB / 0.8263 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.5756, allocations: 6.594 MB / 0.8327 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/0.5809, allocations: 4.927 MB / 0.8375 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.5839, allocations: 2.512 MB / 0.84 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.5873, allocations: 3.01 MB / 0.8429 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006253/0.5879, allocations: 0.5552 MB / 0.8435 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.5899, allocations: 1.168 MB / 0.8446 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.5909, allocations: 1.432 MB / 0.846 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.5931, allocations: 2.593 MB / 0.8485 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.5994, allocations: 7.227 MB / 0.8556 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5994, allocations: 4 kB / 0.8556 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5994, allocations: 4 kB / 0.8556 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.833e-05/0.5994, allocations: 0 / 0.8556 GB, free: 14.93 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.009204/0.6087, allocations: 5.453 MB / 0.8609 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6087, allocations: 12.02 kB / 0.8609 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.6217, allocations: 2.853 MB / 0.8637 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/0.6254, allocations: 2.658 MB / 0.8663 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.6256, allocations: 291.8 kB / 0.8666 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005445/0.6262, allocations: 380 kB / 0.867 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.6369, allocations: 5.927 MB / 0.8728 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/0.6369, allocations: 7.906 kB / 0.8728 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.6373, allocations: 159.9 kB / 0.8729 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/0.6374, allocations: 96 kB / 0.873 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.6517, allocations: 7.046 MB / 0.8799 GB, free: 5.898 MB / 0.6387 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.02459/0.6763, allocations: 18.53 MB / 0.898 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009073/0.6854, allocations: 4.806 MB / 0.9027 GB, free: 13.78 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005555/0.6909, allocations: 3.061 MB / 0.9057 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008461/0.6918, allocations: 0.6771 MB / 0.9063 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005677/0.6975, allocations: 2.978 MB / 0.9092 GB, free: 6.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=336): time 5.1e-06/0.6975, allocations: 0 / 0.9092 GB, free: 6.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=336): time 0.02377/0.7213, allocations: 10.17 MB / 0.9192 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.7214, allocations: 222.6 kB / 0.9194 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.7246, allocations: 2.794 MB / 0.9221 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002698/0.7249, allocations: 89.64 kB / 0.9222 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.726, allocations: 1.599 MB / 0.9237 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008851/0.7269, allocations: 1.102 MB / 0.9248 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.7279, allocations: 0.5766 MB / 0.9254 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.728, allocations: 313 kB / 0.9257 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/0.7329, allocations: 2.316 MB / 0.9279 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/0.7381, allocations: 2.672 MB / 0.9306 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009956/0.7481, allocations: 4.928 MB / 0.9354 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7481, allocations: 0 / 0.9354 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01237/0.7605, allocations: 6.102 MB / 0.9413 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7605, allocations: 4 kB / 0.9413 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.7605, allocations: 8 kB / 0.9413 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.7622, allocations: 0.8279 MB / 0.9421 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/0.7661, allocations: 0.8502 MB / 0.943 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009802/0.7759, allocations: 7.573 MB / 0.9504 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/0.7794, allocations: 0.6001 MB / 0.951 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.7797, allocations: 127.9 kB / 0.9511 GB, free: 11.51 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: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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.001646/0.7814, allocations: 1.083 MB / 0.9521 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/0.7819, allocations: 324 kB / 0.9524 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.7959, allocations: 6.754 MB / 0.959 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/0.7959, allocations: 19.88 kB / 0.9591 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7959, allocations: 0 / 0.9591 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.7974, allocations: 0.949 MB / 0.96 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/0.7979, allocations: 87.83 kB / 0.9601 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/0.8011, allocations: 432.9 kB / 0.9605 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/0.8016, allocations: 270.4 kB / 0.9607 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01523/0.8169, allocations: 6.569 MB / 0.9672 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01707/0.8339, allocations: 9.167 MB / 0.9761 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004953/0.8389, allocations: 2.695 MB / 0.9787 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002411/0.8413, allocations: 2.021 MB / 0.9807 GB, free: 13 MB / 0.7481 GB Notification: Performance of Backend: time 2.71e-07/0.8413, allocations: 4 kB / 0.9807 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.8514, allocations: 4.763 MB / 0.9854 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of SimCode: time 0.01159/0.863, allocations: 8.386 MB / 0.9936 GB, free: 284 kB / 0.7481 GB Notification: Performance of Templates: time 0.3281/1.191, allocations: 70.14 MB / 1.062 GB, free: 332.1 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)