Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5783/0.5796, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.155/0.7347, allocations: 157.9 MB / 1.172 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02497/0.7597, allocations: 22.13 MB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.7624, allocations: 71.62 kB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.7646, allocations: 1.379 MB / 1.195 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.7669, allocations: 1.02 MB / 1.196 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.7686, allocations: 0.6394 MB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.7709, allocations: 1.688 MB / 1.198 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.7724, allocations: 0.9628 MB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.7739, allocations: 0.7281 MB / 1.2 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.7756, allocations: 1.195 MB / 1.201 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.7759, allocations: 92 kB / 1.201 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.7764, allocations: 136 kB / 1.201 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.7769, allocations: 416.3 kB / 1.201 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.7777, allocations: 0.6558 MB / 1.202 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.7793, allocations: 1.568 MB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7793, allocations: 0 / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7793, allocations: 4 kB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.192e-05/0.7794, allocations: 0 / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003643/0.783, allocations: 1.915 MB / 1.205 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7831, allocations: 8.031 kB / 1.205 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.7833, allocations: 110.7 kB / 1.205 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.7837, allocations: 182.7 kB / 1.206 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.7852, allocations: 0.867 MB / 1.207 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.7854, allocations: 86.95 kB / 1.207 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.7855, allocations: 75.78 kB / 1.207 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.7868, allocations: 0.7177 MB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.7868, allocations: 3.938 kB / 1.207 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.7869, allocations: 31.94 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.7869, allocations: 19.98 kB / 1.207 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.7881, allocations: 0.536 MB / 1.208 GB, free: 14.5 MB / 0.9669 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.004975/0.7931, allocations: 3.636 MB / 1.211 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.7946, allocations: 0.612 MB / 1.212 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.7953, allocations: 370.3 kB / 1.212 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.7954, allocations: 4.562 kB / 1.212 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/0.7961, allocations: 386.9 kB / 1.213 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 2.855e-06/0.7961, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.00503/0.8011, allocations: 1.773 MB / 1.215 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.8012, allocations: 67.91 kB / 1.215 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.8036, allocations: 2.263 MB / 1.217 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.8037, allocations: 41.7 kB / 1.217 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.8043, allocations: 0.7109 MB / 1.218 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.8046, allocations: 217 kB / 1.218 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.8048, allocations: 130.6 kB / 1.218 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.805, allocations: 334 kB / 1.218 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.8057, allocations: 277.8 kB / 1.218 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.8065, allocations: 420.8 kB / 1.219 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.8078, allocations: 0.6682 MB / 1.22 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.8079, allocations: 0 / 1.22 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002549/0.8104, allocations: 1.11 MB / 1.221 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.8105, allocations: 8 kB / 1.221 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8105, allocations: 4 kB / 1.221 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/0.8113, allocations: 278.5 kB / 1.221 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.8117, allocations: 115.8 kB / 1.221 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.817, allocations: 3.713 MB / 1.225 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.8176, allocations: 87.3 kB / 1.225 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.8177, allocations: 35.94 kB / 1.225 GB, free: 12.65 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006888/0.8184, allocations: 459.8 kB / 1.225 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.8186, allocations: 154 kB / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.819, allocations: 187.7 kB / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.819, allocations: 11.94 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.819, allocations: 3.938 kB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.819, allocations: 3.984 kB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.8226, allocations: 2.048 MB / 1.228 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8226, allocations: 0 / 1.228 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.8229, allocations: 51.91 kB / 1.228 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000748/0.8236, allocations: 281.4 kB / 1.228 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.8237, allocations: 19.98 kB / 1.228 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/0.8296, allocations: 5.24 MB / 1.233 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8296, allocations: 0 / 1.233 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.8324, allocations: 1.389 MB / 1.234 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.8329, allocations: 270.9 kB / 1.235 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.8331, allocations: 16 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.8335, allocations: 43.95 kB / 1.235 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.8337, allocations: 64.41 kB / 1.235 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.8338, allocations: 28.11 kB / 1.235 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001849/0.8356, allocations: 1.627 MB / 1.236 GB, free: 392 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8356, allocations: 0 / 1.236 GB, free: 392 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009772/0.8366, allocations: 275.5 kB / 1.237 GB, free: 116 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00393/0.8405, allocations: 2.331 MB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.8428, allocations: 0.9615 MB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8428, allocations: 0 / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8439, allocations: 0.6791 MB / 1.24 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.8453, allocations: 280.7 kB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4448/1.29, allocations: 12.03 MB / 1.252 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.291, allocations: 1.314 MB / 1.254 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005705/1.292, allocations: 118.1 kB / 1.254 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/1.292, allocations: 0.545 MB / 1.254 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/1.292, allocations: 0.7188 kB / 1.254 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/1.356, allocations: 28.67 MB / 1.282 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.7, allocations: 14.19 kB / 1.282 GB, free: 219.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)