Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 92.8 kB / 16.02 MB, free: 84 kB / 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: 182.2 kB / 16.92 MB, free: 6.68 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 8 kB / 495.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 77.54 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5811/0.745, allocations: 157.3 MB / 0.7136 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03258/0.7776, allocations: 26.49 MB / 0.7395 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.7806, allocations: 63.62 kB / 0.7395 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.7827, allocations: 0.9178 MB / 0.7404 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.7875, allocations: 1.622 MB / 0.742 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.7912, allocations: 1.516 MB / 0.7435 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006675/0.7979, allocations: 5.471 MB / 0.7488 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005121/0.803, allocations: 3.397 MB / 0.7522 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.8053, allocations: 1.435 MB / 0.7536 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.8081, allocations: 1.968 MB / 0.7555 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.8086, allocations: 111.9 kB / 0.7556 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.8104, allocations: 0.7023 MB / 0.7563 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007387/0.8112, allocations: 0.7429 MB / 0.757 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.8132, allocations: 1.652 MB / 0.7586 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005637/0.8188, allocations: 5.466 MB / 0.764 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8189, allocations: 0 / 0.764 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8189, allocations: 0 / 0.764 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001155/0.819, allocations: 0 / 0.764 GB, free: 4.977 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.0084/0.8274, allocations: 3.962 MB / 0.7678 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8275, allocations: 8.031 kB / 0.7678 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.8413, allocations: 2.898 MB / 0.7707 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.8453, allocations: 2.294 MB / 0.7729 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.8455, allocations: 242.3 kB / 0.7731 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/0.8461, allocations: 311.9 kB / 0.7734 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.857, allocations: 5.213 MB / 0.7785 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.8571, allocations: 0 / 0.7785 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/0.8575, allocations: 132 kB / 0.7786 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.8576, allocations: 76 kB / 0.7787 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.8726, allocations: 6.385 MB / 0.785 GB, free: 15.2 MB / 0.6075 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.02704/0.8997, allocations: 14.94 MB / 0.7995 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.9106, allocations: 4.712 MB / 0.8041 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005602/0.9162, allocations: 2.441 MB / 0.8065 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.9172, allocations: 0.6736 MB / 0.8072 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006046/0.9233, allocations: 2.626 MB / 0.8098 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=278): time 5.079e-06/0.9233, allocations: 0 / 0.8098 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=278): time 0.01869/0.942, allocations: 7.432 MB / 0.817 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.9422, allocations: 214.1 kB / 0.8172 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/0.9457, allocations: 2.43 MB / 0.8196 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006438/0.9464, allocations: 77.7 kB / 0.8197 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.9476, allocations: 1.341 MB / 0.821 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/0.9488, allocations: 0.9011 MB / 0.8218 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.9492, allocations: 202.8 kB / 0.822 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9493, allocations: 309 kB / 0.8223 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/0.9544, allocations: 2.038 MB / 0.8243 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/0.9598, allocations: 2.344 MB / 0.8266 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2821/1.242, allocations: 4.285 MB / 0.8308 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/1.242, allocations: 1.812 kB / 0.8308 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0131/1.255, allocations: 5.014 MB / 0.8357 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.255, allocations: 7.203 kB / 0.8357 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.255, allocations: 3.969 kB / 0.8357 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/1.256, allocations: 236.1 kB / 0.8359 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/1.26, allocations: 0.8132 MB / 0.8367 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/1.264, allocations: 3.098 MB / 0.8398 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.268, allocations: 0.5919 MB / 0.8403 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/1.268, allocations: 118.4 kB / 0.8404 GB, free: 221.6 MB / 0.6387 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00187/1.27, allocations: 0.9484 MB / 0.8414 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/1.27, allocations: 278.6 kB / 0.8416 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.284, allocations: 5.64 MB / 0.8471 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.284, allocations: 31.69 kB / 0.8472 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.284, allocations: 4.031 kB / 0.8472 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.284, allocations: 17.98 kB / 0.8472 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/1.289, allocations: 3.696 MB / 0.8508 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.289, allocations: 0 / 0.8508 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004006/1.293, allocations: 0.739 MB / 0.8515 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/1.294, allocations: 268.4 kB / 0.8518 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004919/1.294, allocations: 85.77 kB / 0.8519 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/1.298, allocations: 4.8 MB / 0.8566 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.298, allocations: 0 / 0.8566 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.315, allocations: 8.053 MB / 0.8644 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.317, allocations: 0.8776 MB / 0.8653 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/1.317, allocations: 59.58 kB / 0.8653 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.32, allocations: 458.6 kB / 0.8658 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/1.321, allocations: 207.7 kB / 0.866 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.321, allocations: 114.1 kB / 0.8661 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001965/1.323, allocations: 1.772 MB / 0.8678 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.323, allocations: 0 / 0.8678 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00262/1.326, allocations: 1.064 MB / 0.8688 GB, free: 208.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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 {(2,16,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.002371/1.328, allocations: 1.041 MB / 0.8699 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009698/1.338, allocations: 4.901 MB / 0.8746 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.338, allocations: 0 / 0.8746 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/1.343, allocations: 2.79 MB / 0.8774 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.346, allocations: 0.6433 MB / 0.878 GB, free: 202.7 MB / 0.6387 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.359, allocations: 9.541 MB / 0.8873 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.361, allocations: 2.456 MB / 0.8897 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004356/1.365, allocations: 1.143 MB / 0.8908 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.366, allocations: 283.2 kB / 0.8911 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.011e-06/1.366, allocations: 0 / 0.8911 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.06253/1.429, allocations: 45.68 MB / 0.9357 GB, free: 143.9 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)