Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 186.2 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 90.06 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003737, allocations: 7.656 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2436, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1699/0.4136, allocations: 135.9 MB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03452/0.4482, allocations: 22.38 MB / 1.055 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.452, allocations: 59.62 kB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.4551, allocations: 0.9607 MB / 1.056 GB, free: 492 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.6081/1.063, allocations: 2.079 MB / 1.058 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006018/1.069, allocations: 1.613 MB / 1.059 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006867/1.076, allocations: 2.881 MB / 1.062 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006233/1.082, allocations: 2.851 MB / 1.065 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/1.086, allocations: 1.286 MB / 1.066 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004624/1.091, allocations: 1.614 MB / 1.068 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001057/1.092, allocations: 106.2 kB / 1.068 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/1.095, allocations: 0.5232 MB / 1.068 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/1.096, allocations: 0.6984 MB / 1.069 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/1.098, allocations: 0.6283 MB / 1.07 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006805/1.105, allocations: 4.247 MB / 1.074 GB, free: 3.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.105, allocations: 1.75 kB / 1.074 GB, free: 3.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.105, allocations: 0.75 kB / 1.074 GB, free: 3.406 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002427/1.105, allocations: 0 / 1.074 GB, free: 3.406 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.01278/1.118, allocations: 3.792 MB / 1.078 GB, free: 1.738 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.118, allocations: 9.875 kB / 1.078 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002345/1.12, allocations: 444.4 kB / 1.078 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.134, allocations: 2.698 MB / 1.081 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00724/1.142, allocations: 2.134 MB / 1.083 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/1.142, allocations: 239.2 kB / 1.083 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/1.144, allocations: 310.5 kB / 1.083 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/1.158, allocations: 4.955 MB / 1.088 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-05/1.158, allocations: 4.562 kB / 1.088 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/1.159, allocations: 128.8 kB / 1.088 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/1.159, allocations: 75.97 kB / 1.088 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.175, allocations: 6.099 MB / 1.094 GB, free: 16.32 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.03831/1.213, allocations: 14.28 MB / 1.108 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.228, allocations: 4.574 MB / 1.113 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/1.23, allocations: 0.6739 MB / 1.113 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00799/1.238, allocations: 2.343 MB / 1.116 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 1.082e-05/1.238, allocations: 3.312 kB / 1.116 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.02463/1.263, allocations: 7.231 MB / 1.123 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/1.263, allocations: 209.1 kB / 1.123 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005919/1.269, allocations: 2.378 MB / 1.125 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/1.27, allocations: 71.73 kB / 1.125 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.272, allocations: 1.354 MB / 1.127 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.274, allocations: 0.8843 MB / 1.127 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008278/1.275, allocations: 47.28 kB / 1.127 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003689/1.275, allocations: 403.4 kB / 1.128 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005423/1.281, allocations: 1.851 MB / 1.13 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/1.287, allocations: 2.173 MB / 1.132 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006088/1.293, allocations: 2.026 MB / 1.134 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/1.293, allocations: 0 / 1.134 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01707/1.31, allocations: 4.724 MB / 1.138 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/1.31, allocations: 11.75 kB / 1.138 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.31, allocations: 4 kB / 1.138 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.312, allocations: 343.9 kB / 1.139 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005204/1.317, allocations: 0.7688 MB / 1.139 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006787/1.324, allocations: 4.028 MB / 1.143 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.329, allocations: 0.5035 MB / 1.144 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.33, allocations: 111.3 kB / 1.144 GB, free: 10.3 MB / 0.7292 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.004278/1.334, allocations: 0.9207 MB / 1.145 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.336, allocations: 272.6 kB / 1.145 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/1.353, allocations: 5.35 MB / 1.15 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/1.353, allocations: 28 kB / 1.15 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.353, allocations: 4 kB / 1.15 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.868e-05/1.353, allocations: 11.95 kB / 1.15 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/1.381, allocations: 9.052 MB / 1.159 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.381, allocations: 3.984 kB / 1.159 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004353/1.385, allocations: 0.7241 MB / 1.16 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/1.386, allocations: 382.7 kB / 1.16 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007022/1.387, allocations: 73.88 kB / 1.16 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00771/1.395, allocations: 5.904 MB / 1.166 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.395, allocations: 3.953 kB / 1.166 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/1.416, allocations: 7.6 MB / 1.174 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003743/1.42, allocations: 0.8433 MB / 1.174 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/1.422, allocations: 52.92 kB / 1.174 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004532/1.427, allocations: 391.2 kB / 1.175 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009204/1.428, allocations: 171.1 kB / 1.175 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006528/1.428, allocations: 95.98 kB / 1.175 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00422/1.432, allocations: 1.733 MB / 1.177 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.72e-07/1.433, allocations: 4 kB / 1.177 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006313/1.439, allocations: 1 MB / 1.178 GB, free: 40 kB / 0.7448 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.02355/1.462, allocations: 9.053 MB / 1.187 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.477, allocations: 4.568 MB / 1.191 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.477, allocations: 4.062 kB / 1.191 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007593/1.484, allocations: 2.659 MB / 1.194 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/1.489, allocations: 0.5657 MB / 1.194 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0664/1.555, allocations: 26.75 MB / 1.22 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004143/1.559, allocations: 2.497 MB / 1.223 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005496/1.565, allocations: 1.124 MB / 1.224 GB, free: 8.453 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/1.568, allocations: 1.434 MB / 1.225 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of SimCode: time 1.333e-06/1.568, allocations: 0 / 1.225 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.702, allocations: 68.27 MB / 1.292 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.703, allocations: 285.1 kB / 1.292 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.385/6.087, allocations: 0 / 1.292 GB, free: 4.055 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)