Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 10.97 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: 180.7 kB / 326.5 MB, free: 2.203 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.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001172/0.001172, allocations: 95.92 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 8.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 106.3 MB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1637/0.4086, allocations: 136.7 MB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03723/0.4459, allocations: 22.66 MB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6173/1.063, allocations: 66.86 kB / 1.056 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003756/1.067, allocations: 0.9879 MB / 1.057 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009112/1.076, allocations: 2.164 MB / 1.059 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006609/1.083, allocations: 1.681 MB / 1.061 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008636/1.091, allocations: 3.148 MB / 1.064 GB, free: 3.379 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007453/1.099, allocations: 3.035 MB / 1.067 GB, free: 3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/1.104, allocations: 1.372 MB / 1.068 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/1.11, allocations: 1.726 MB / 1.07 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/1.111, allocations: 120.2 kB / 1.07 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/1.115, allocations: 0.537 MB / 1.07 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/1.116, allocations: 0.7522 MB / 1.071 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/1.118, allocations: 0.6761 MB / 1.072 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008667/1.127, allocations: 4.565 MB / 1.076 GB, free: 2.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.127, allocations: 1.125 kB / 1.076 GB, free: 2.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/1.127, allocations: 0 / 1.076 GB, free: 2.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004107/1.128, allocations: 0 / 1.076 GB, free: 2.66 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01618/1.144, allocations: 4.018 MB / 1.08 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/1.144, allocations: 9.625 kB / 1.08 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002626/1.146, allocations: 468.7 kB / 1.08 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/1.161, allocations: 2.72 MB / 1.083 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007543/1.169, allocations: 2.245 MB / 1.085 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/1.169, allocations: 250.4 kB / 1.086 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/1.172, allocations: 329.9 kB / 1.086 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/1.189, allocations: 5.2 MB / 1.091 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/1.189, allocations: 0 / 1.091 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004522/1.189, allocations: 146.6 kB / 1.091 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/1.189, allocations: 83.66 kB / 1.091 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/1.207, allocations: 6.335 MB / 1.097 GB, free: 14.38 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.04314/1.25, allocations: 15.48 MB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.26, allocations: 4.086 MB / 1.116 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.262, allocations: 0.6741 MB / 1.117 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007004/1.269, allocations: 2.455 MB / 1.12 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=286): time 6.733e-06/1.269, allocations: 0 / 1.12 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286): time 0.02279/1.292, allocations: 8.037 MB / 1.127 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.292, allocations: 219.7 kB / 1.128 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/1.296, allocations: 2.493 MB / 1.13 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.297, allocations: 77.73 kB / 1.13 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.299, allocations: 1.42 MB / 1.131 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.301, allocations: 0.9521 MB / 1.132 GB, free: 80 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/1.301, allocations: 49.38 kB / 1.132 GB, free: 80 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003087/1.301, allocations: 403.5 kB / 1.133 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/1.306, allocations: 1.952 MB / 1.135 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005559/1.312, allocations: 2.258 MB / 1.137 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/1.317, allocations: 2.119 MB / 1.139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.317, allocations: 4 kB / 1.139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01321/1.331, allocations: 5.082 MB / 1.144 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.331, allocations: 8 kB / 1.144 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.331, allocations: 6.266 kB / 1.144 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/1.332, allocations: 0.5407 MB / 1.145 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/1.336, allocations: 0.7455 MB / 1.145 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/1.344, allocations: 5.444 MB / 1.151 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005043/1.35, allocations: 0.5345 MB / 1.151 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009211/1.35, allocations: 105.9 kB / 1.151 GB, free: 4.422 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 (272): * Single equations (assignments): 271 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003355/1.354, allocations: 0.9593 MB / 1.152 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.355, allocations: 280.4 kB / 1.152 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.369, allocations: 5.699 MB / 1.158 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.369, allocations: 28 kB / 1.158 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.369, allocations: 8 kB / 1.158 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/1.369, allocations: 15.94 kB / 1.158 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/1.392, allocations: 9.646 MB / 1.167 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.392, allocations: 4 kB / 1.167 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004001/1.396, allocations: 0.7064 MB / 1.168 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/1.397, allocations: 0.522 MB / 1.169 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003916/1.398, allocations: 79.56 kB / 1.169 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/1.406, allocations: 7.123 MB / 1.176 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.406, allocations: 0 / 1.176 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.426, allocations: 8.081 MB / 1.184 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/1.429, allocations: 0.8792 MB / 1.184 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.43, allocations: 55.44 kB / 1.184 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/1.434, allocations: 393.4 kB / 1.185 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/1.434, allocations: 194.3 kB / 1.185 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.435, allocations: 105.5 kB / 1.185 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003131/1.438, allocations: 1.813 MB / 1.187 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/1.438, allocations: 0 / 1.187 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00473/1.443, allocations: 1.08 MB / 1.188 GB, free: 8.27 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[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 (257): * Single equations (assignments): 250 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02199/1.465, allocations: 9.53 MB / 1.197 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.479, allocations: 4.876 MB / 1.202 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.479, allocations: 2.906 kB / 1.202 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00697/1.486, allocations: 2.845 MB / 1.205 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.49, allocations: 0.6077 MB / 1.205 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0688/1.559, allocations: 28.46 MB / 1.233 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.561, allocations: 2.61 MB / 1.236 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00571/1.567, allocations: 1.112 MB / 1.237 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003294/1.57, allocations: 1.5 MB / 1.238 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of SimCode: time 1.433e-06/1.57, allocations: 4 kB / 1.238 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/1.712, allocations: 73.22 MB / 1.31 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.712, allocations: 291.4 kB / 1.31 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.689/6.401, allocations: 0 / 1.31 GB, free: 5.234 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)