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.00138/0.00138, allocations: 99.86 kB / 16.27 MB, free: 5.965 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.00148/0.00148, allocations: 192 kB / 17.2 MB, free: 5.594 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.741/0.741, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3804, allocations: 77.94 MB / 0.5672 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1668/0.5473, allocations: 162 MB / 0.7254 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3458/0.8932, allocations: 26.92 MB / 0.7517 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004519/0.8977, allocations: 73.25 kB / 0.7517 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.9003, allocations: 1.037 MB / 0.7528 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.906, allocations: 1.794 MB / 0.7545 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.9103, allocations: 1.724 MB / 0.7562 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00826/0.9186, allocations: 5.27 MB / 0.7613 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006476/0.9251, allocations: 4.173 MB / 0.7654 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.9306, allocations: 2.09 MB / 0.7675 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.9358, allocations: 2.516 MB / 0.7699 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.9375, allocations: 460 kB / 0.7704 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.9412, allocations: 1.042 MB / 0.7714 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.9427, allocations: 1.177 MB / 0.7725 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003717/0.9465, allocations: 2.125 MB / 0.7746 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.9578, allocations: 5.867 MB / 0.7803 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9579, allocations: 0 / 0.7803 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9579, allocations: 0.9062 kB / 0.7803 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002571/0.9582, allocations: 0 / 0.7803 GB, free: 15.81 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01755/0.9757, allocations: 4.625 MB / 0.7848 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9758, allocations: 10.78 kB / 0.7849 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0256/1.001, allocations: 2.771 MB / 0.7876 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008333/1.01, allocations: 2.275 MB / 0.7898 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/1.01, allocations: 240.6 kB / 0.79 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/1.012, allocations: 310.2 kB / 0.7903 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02335/1.035, allocations: 5.162 MB / 0.7953 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.036, allocations: 0 / 0.7953 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/1.037, allocations: 137.1 kB / 0.7955 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/1.037, allocations: 76.84 kB / 0.7956 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03104/1.068, allocations: 6.288 MB / 0.8017 GB, free: 11.16 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.04916/1.117, allocations: 14.93 MB / 0.8163 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/1.139, allocations: 4.711 MB / 0.8209 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/1.151, allocations: 2.437 MB / 0.8233 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/1.153, allocations: 0.6731 MB / 0.8239 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01204/1.165, allocations: 2.615 MB / 0.8265 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 9.318e-06/1.165, allocations: 0 / 0.8265 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.02522/1.19, allocations: 7.404 MB / 0.8337 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.19, allocations: 214.1 kB / 0.8339 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.194, allocations: 2.439 MB / 0.8363 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005307/1.195, allocations: 77.7 kB / 0.8364 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.196, allocations: 1.333 MB / 0.8377 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.197, allocations: 0.9068 MB / 0.8385 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/1.199, allocations: 0.5086 MB / 0.839 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/1.199, allocations: 305.1 kB / 0.8393 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.204, allocations: 2.031 MB / 0.8413 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/1.209, allocations: 2.339 MB / 0.8436 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.22, allocations: 4.281 MB / 0.8478 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/1.22, allocations: 4 kB / 0.8478 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01288/1.233, allocations: 4.988 MB / 0.8527 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.233, allocations: 8 kB / 0.8527 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.233, allocations: 4 kB / 0.8527 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/1.234, allocations: 246.8 kB / 0.8529 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/1.238, allocations: 0.8041 MB / 0.8537 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/1.242, allocations: 3.38 MB / 0.857 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.247, allocations: 0.5618 MB / 0.8575 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/1.247, allocations: 111.9 kB / 0.8576 GB, free: 9 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.00214/1.249, allocations: 0.9506 MB / 0.8586 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.251, allocations: 271.7 kB / 0.8588 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.264, allocations: 5.625 MB / 0.8643 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.264, allocations: 31.09 kB / 0.8643 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.264, allocations: 4 kB / 0.8644 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/1.264, allocations: 19.92 kB / 0.8644 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/1.27, allocations: 3.696 MB / 0.868 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.27, allocations: 0 / 0.868 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/1.274, allocations: 0.7425 MB / 0.8687 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008385/1.274, allocations: 266.3 kB / 0.869 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004262/1.275, allocations: 75.92 kB / 0.869 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/1.28, allocations: 5.239 MB / 0.8742 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.28, allocations: 3.75 kB / 0.8742 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.298, allocations: 8.03 MB / 0.882 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.3, allocations: 0.8248 MB / 0.8828 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.3, allocations: 71.83 kB / 0.8829 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.304, allocations: 421.9 kB / 0.8833 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/1.304, allocations: 202 kB / 0.8835 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.304, allocations: 111.8 kB / 0.8836 GB, free: 14.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002361/1.307, allocations: 1.777 MB / 0.8853 GB, free: 12.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.307, allocations: 0 / 0.8853 GB, free: 12.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002674/1.309, allocations: 1.064 MB / 0.8863 GB, free: 11.21 MB / 0.67 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.002414/1.312, allocations: 1.052 MB / 0.8874 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02092/1.333, allocations: 8.53 MB / 0.8957 GB, free: 2.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.333, allocations: 0 / 0.8957 GB, free: 2.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006431/1.339, allocations: 2.78 MB / 0.8984 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.344, allocations: 0.7078 MB / 0.8991 GB, free: 14.66 MB / 0.6856 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.01506/1.359, allocations: 8 MB / 0.9069 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/1.361, allocations: 2.456 MB / 0.9093 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00486/1.366, allocations: 1.138 MB / 0.9104 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.367, allocations: 283.2 kB / 0.9107 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.367, allocations: 4 kB / 0.9107 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of Templates: time 0.07876/1.446, allocations: 48.35 MB / 0.9579 GB, free: 2.855 MB / 0.7325 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)