Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001514/0.001514, allocations: 174.1 kB / 326.5 MB, free: 2.25 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.141/2.141, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001147/0.001147, allocations: 93.88 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 11.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2674, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1678/0.4352, allocations: 137.7 MB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6106/1.046, allocations: 23.07 MB / 1.057 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/1.05, allocations: 70.95 kB / 1.057 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/1.055, allocations: 1.034 MB / 1.058 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/1.067, allocations: 2.285 MB / 1.06 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007624/1.074, allocations: 1.816 MB / 1.062 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009698/1.084, allocations: 3.593 MB / 1.066 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006717/1.091, allocations: 3.269 MB / 1.069 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/1.096, allocations: 1.496 MB / 1.07 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/1.102, allocations: 1.907 MB / 1.072 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001194/1.103, allocations: 142.1 kB / 1.072 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.106, allocations: 0.5459 MB / 1.073 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/1.107, allocations: 0.8331 MB / 1.074 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/1.109, allocations: 0.7415 MB / 1.074 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009144/1.118, allocations: 4.994 MB / 1.079 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.119, allocations: 4 kB / 1.079 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.647e-06/1.119, allocations: 0 / 1.079 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003649/1.119, allocations: 0.7812 kB / 1.079 GB, free: 18.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01426/1.133, allocations: 4.307 MB / 1.084 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.133, allocations: 9.875 kB / 1.084 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002318/1.136, allocations: 0.5 MB / 1.084 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/1.149, allocations: 2.758 MB / 1.087 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/1.156, allocations: 2.373 MB / 1.089 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/1.157, allocations: 279.2 kB / 1.089 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.158, allocations: 358.1 kB / 1.09 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/1.174, allocations: 5.54 MB / 1.095 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-05/1.174, allocations: 9.312 kB / 1.095 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004781/1.175, allocations: 150.9 kB / 1.095 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/1.175, allocations: 90.38 kB / 1.095 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/1.192, allocations: 6.668 MB / 1.102 GB, free: 13.25 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.04159/1.234, allocations: 17.13 MB / 1.119 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.245, allocations: 4.509 MB / 1.123 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.246, allocations: 0.6722 MB / 1.124 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006288/1.253, allocations: 2.61 MB / 1.126 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=313): time 7.053e-06/1.253, allocations: 0 / 1.126 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=313): time 0.02508/1.278, allocations: 9.359 MB / 1.135 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.278, allocations: 215 kB / 1.136 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/1.282, allocations: 2.641 MB / 1.138 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009488/1.283, allocations: 78.58 kB / 1.138 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.285, allocations: 1.538 MB / 1.14 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.287, allocations: 1.04 MB / 1.141 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.287, allocations: 54.81 kB / 1.141 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.287, allocations: 415.7 kB / 1.141 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00507/1.292, allocations: 2.069 MB / 1.143 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/1.297, allocations: 2.416 MB / 1.146 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005499/1.303, allocations: 2.254 MB / 1.148 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.303, allocations: 0 / 1.148 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01344/1.316, allocations: 5.559 MB / 1.153 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/1.317, allocations: 8.406 kB / 1.153 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.317, allocations: 9.969 kB / 1.153 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/1.319, allocations: 0.8346 MB / 1.154 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/1.323, allocations: 0.7594 MB / 1.155 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.334, allocations: 7.212 MB / 1.162 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/1.339, allocations: 0.545 MB / 1.162 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007185/1.34, allocations: 113.2 kB / 1.162 GB, free: 12.81 MB / 0.7448 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 (281): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002981/1.343, allocations: 1.022 MB / 1.163 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009586/1.344, allocations: 304.2 kB / 1.164 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.357, allocations: 6.189 MB / 1.17 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.358, allocations: 33.86 kB / 1.17 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/1.358, allocations: 8 kB / 1.17 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/1.358, allocations: 15.94 kB / 1.17 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.38, allocations: 10.47 MB / 1.18 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.38, allocations: 0 / 1.18 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004073/1.384, allocations: 0.7251 MB / 1.181 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/1.386, allocations: 0.7358 MB / 1.181 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006561/1.387, allocations: 85.05 kB / 1.182 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.398, allocations: 10.01 MB / 1.191 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.398, allocations: 0 / 1.191 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.422, allocations: 8.761 MB / 1.2 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004781/1.427, allocations: 0.9296 MB / 1.201 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/1.429, allocations: 59.31 kB / 1.201 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/1.434, allocations: 404.9 kB / 1.201 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/1.435, allocations: 206.6 kB / 1.201 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009804/1.436, allocations: 106 kB / 1.202 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00489/1.441, allocations: 1.914 MB / 1.203 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.042e-06/1.441, allocations: 0 / 1.203 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00756/1.449, allocations: 1.197 MB / 1.205 GB, free: 12.61 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (267): * Single equations (assignments): 259 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02934/1.478, allocations: 10.23 MB / 1.215 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.495, allocations: 5.282 MB / 1.22 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.495, allocations: 0 / 1.22 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.009082/1.504, allocations: 3.228 MB / 1.223 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/1.509, allocations: 0.6578 MB / 1.224 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07933/1.589, allocations: 30.74 MB / 1.254 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005337/1.594, allocations: 2.746 MB / 1.256 GB, free: 1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007603/1.602, allocations: 1.149 MB / 1.257 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/1.607, allocations: 1.612 MB / 1.259 GB, free: 15.49 MB / 0.823 GB Notification: Performance of SimCode: time 1.764e-06/1.607, allocations: 0 / 1.259 GB, free: 15.49 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/1.763, allocations: 79.72 MB / 1.337 GB, free: 392 kB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.763, allocations: 285.7 kB / 1.337 GB, free: 28 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/6.851, allocations: 0 / 1.337 GB, free: 28 kB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)