Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.2 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 183.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009926/0.0009932, allocations: 100.3 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 18.42 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.8542/1.159, allocations: 135.9 MB / 1.112 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03446/1.194, allocations: 22.37 MB / 1.134 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/1.198, allocations: 61.77 kB / 1.134 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003267/1.201, allocations: 0.9754 MB / 1.135 GB, free: 0 / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009611/1.211, allocations: 2.078 MB / 1.137 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.218, allocations: 1.626 MB / 1.139 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006916/1.225, allocations: 2.885 MB / 1.141 GB, free: 14.45 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/1.229, allocations: 2.851 MB / 1.144 GB, free: 13.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/1.233, allocations: 1.289 MB / 1.146 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004084/1.237, allocations: 1.618 MB / 1.147 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009556/1.238, allocations: 106.4 kB / 1.147 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/1.241, allocations: 0.515 MB / 1.148 GB, free: 12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.242, allocations: 0.7005 MB / 1.148 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/1.244, allocations: 0.6259 MB / 1.149 GB, free: 11.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006889/1.251, allocations: 4.243 MB / 1.153 GB, free: 9.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.251, allocations: 0 / 1.153 GB, free: 9.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.937e-06/1.251, allocations: 4 kB / 1.153 GB, free: 9.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002682/1.251, allocations: 0 / 1.153 GB, free: 9.012 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01106/1.262, allocations: 3.805 MB / 1.157 GB, free: 6.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.262, allocations: 8.5 kB / 1.157 GB, free: 6.586 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001463/1.264, allocations: 441.1 kB / 1.157 GB, free: 6.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/1.278, allocations: 2.7 MB / 1.16 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/1.285, allocations: 2.131 MB / 1.162 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/1.285, allocations: 233.3 kB / 1.162 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/1.286, allocations: 308.1 kB / 1.163 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.298, allocations: 4.959 MB / 1.167 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/1.298, allocations: 3.938 kB / 1.167 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/1.298, allocations: 134.5 kB / 1.168 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/1.298, allocations: 79.59 kB / 1.168 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/1.313, allocations: 6.096 MB / 1.174 GB, free: 13.37 MB / 0.7136 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.03162/1.344, allocations: 14.29 MB / 1.187 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/1.356, allocations: 4.577 MB / 1.192 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.357, allocations: 0.6697 MB / 1.193 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006149/1.363, allocations: 2.348 MB / 1.195 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=268): time 6.513e-06/1.363, allocations: 0 / 1.195 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=268): time 0.02001/1.383, allocations: 7.23 MB / 1.202 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.384, allocations: 210 kB / 1.202 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/1.388, allocations: 2.376 MB / 1.204 GB, free: 368 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006743/1.389, allocations: 73.64 kB / 1.205 GB, free: 288 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.39, allocations: 1.357 MB / 1.206 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.392, allocations: 0.8895 MB / 1.207 GB, free: 14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/1.393, allocations: 44 kB / 1.207 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000372/1.393, allocations: 402.6 kB / 1.207 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005145/1.398, allocations: 1.858 MB / 1.209 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/1.403, allocations: 2.162 MB / 1.211 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005489/1.409, allocations: 2.018 MB / 1.213 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/1.409, allocations: 0 / 1.213 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01342/1.422, allocations: 4.724 MB / 1.218 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/1.422, allocations: 8 kB / 1.218 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/1.423, allocations: 4 kB / 1.218 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/1.423, allocations: 348.8 kB / 1.218 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/1.428, allocations: 0.7722 MB / 1.219 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00569/1.433, allocations: 4.009 MB / 1.223 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/1.437, allocations: 0.5081 MB / 1.223 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/1.438, allocations: 107.9 kB / 1.223 GB, free: 12.74 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00255/1.44, allocations: 0.9188 MB / 1.224 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.442, allocations: 264.7 kB / 1.224 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.455, allocations: 5.359 MB / 1.23 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/1.455, allocations: 28 kB / 1.23 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.455, allocations: 7.984 kB / 1.23 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.455, allocations: 15.95 kB / 1.23 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.476, allocations: 9.04 MB / 1.239 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.476, allocations: 3.953 kB / 1.239 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/1.48, allocations: 0.7294 MB / 1.239 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/1.481, allocations: 387.2 kB / 1.24 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004219/1.482, allocations: 75.92 kB / 1.24 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/1.488, allocations: 5.889 MB / 1.245 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.488, allocations: 4 kB / 1.245 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/1.507, allocations: 7.614 MB / 1.253 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/1.509, allocations: 0.8404 MB / 1.254 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.511, allocations: 48 kB / 1.254 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/1.514, allocations: 387.3 kB / 1.254 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005341/1.515, allocations: 174 kB / 1.254 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/1.515, allocations: 99.92 kB / 1.254 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003472/1.519, allocations: 1.732 MB / 1.256 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.12e-07/1.519, allocations: 0 / 1.256 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005648/1.524, allocations: 1.001 MB / 1.257 GB, free: 9.504 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02286/1.547, allocations: 9.052 MB / 1.266 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.559, allocations: 4.57 MB / 1.27 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.559, allocations: 3.938 kB / 1.27 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006567/1.566, allocations: 2.67 MB / 1.273 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.57, allocations: 0.5715 MB / 1.274 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05996/1.63, allocations: 26.75 MB / 1.3 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004058/1.634, allocations: 2.498 MB / 1.302 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006805/1.641, allocations: 1.106 MB / 1.303 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003872/1.644, allocations: 1.432 MB / 1.305 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/1.644, allocations: 0 / 1.305 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.769, allocations: 68.27 MB / 1.371 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.769, allocations: 292.9 kB / 1.372 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/5.951, allocations: 0 / 1.372 GB, free: 3.316 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)