Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase1,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 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.001616/0.001616, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.508/2.508, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 63.55 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2311, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1512/0.3824, allocations: 156.8 MB / 1.217 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.4052, allocations: 21.74 MB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.4064, allocations: 55.69 kB / 1.238 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4079, allocations: 1.165 MB / 1.24 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.4092, allocations: 0.8485 MB / 1.24 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.4102, allocations: 453.7 kB / 1.241 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.4115, allocations: 1.251 MB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/0.4123, allocations: 0.6833 MB / 1.243 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.413, allocations: 0.5569 MB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000964/0.414, allocations: 0.9099 MB / 1.244 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.4141, allocations: 64 kB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.4143, allocations: 107.9 kB / 1.244 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.4146, allocations: 316.7 kB / 1.245 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.415, allocations: 496.8 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.416, allocations: 1.179 MB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.416, allocations: 0 / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.675e-06/0.416, allocations: 7.938 kB / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.4161, allocations: 0 / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00208/0.4181, allocations: 1.482 MB / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.4182, allocations: 8.031 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.722e-05/0.4183, allocations: 82.72 kB / 1.248 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.4185, allocations: 135.2 kB / 1.248 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.4192, allocations: 0.6626 MB / 1.249 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.4194, allocations: 66.69 kB / 1.249 GB, free: 456 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.4195, allocations: 52 kB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3702/0.7897, allocations: 0.5173 MB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7897, allocations: 1.375 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.7898, allocations: 18.5 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.7898, allocations: 10.19 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008263/0.7906, allocations: 414.8 kB / 1.25 GB, free: 189.9 MB / 0.9981 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.002891/0.7935, allocations: 2.738 MB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.7944, allocations: 444.4 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.7949, allocations: 303.3 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.7949, allocations: 7.625 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.7954, allocations: 285.2 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.7954, allocations: 3.438 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002189/0.7976, allocations: 1.148 MB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.7977, allocations: 59.97 kB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.7991, allocations: 1.763 MB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.7991, allocations: 35.95 kB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.7994, allocations: 0.5312 MB / 1.257 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.7995, allocations: 143.8 kB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.7996, allocations: 102.4 kB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.7997, allocations: 326.2 kB / 1.257 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.8, allocations: 211.2 kB / 1.257 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.8005, allocations: 337.5 kB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.8011, allocations: 0.5151 MB / 1.258 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8011, allocations: 6.922 kB / 1.258 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00115/0.8023, allocations: 0.8067 MB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8023, allocations: 9 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8023, allocations: 2.812 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.8027, allocations: 136.4 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.803, allocations: 104.1 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.805, allocations: 2.605 MB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.8053, allocations: 81.48 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.8054, allocations: 27.08 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003068/0.8057, allocations: 385.1 kB / 1.262 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.8058, allocations: 114.4 kB / 1.262 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.8059, allocations: 136.3 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8059, allocations: 5.25 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8059, allocations: 3.812 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8059, allocations: 6.281 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.8078, allocations: 1.491 MB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8078, allocations: 3.453 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.808, allocations: 46.23 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.8083, allocations: 161.3 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.8083, allocations: 17.47 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.8107, allocations: 4.026 MB / 1.268 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8107, allocations: 6.688 kB / 1.268 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.812, allocations: 0.9879 MB / 1.269 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.8122, allocations: 210.7 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.8123, allocations: 13.41 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.8126, allocations: 30.06 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8127, allocations: 50.97 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.8127, allocations: 16.58 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00124/0.814, allocations: 1.29 MB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.814, allocations: 0 / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000563/0.8146, allocations: 198.2 kB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00297/0.8175, allocations: 1.92 MB / 1.273 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.8187, allocations: 0.702 MB / 1.274 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8188, allocations: 0 / 1.274 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.8194, allocations: 0.5231 MB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.8203, allocations: 201.5 kB / 1.274 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.8302, allocations: 9.064 MB / 1.283 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.8308, allocations: 1.154 MB / 1.284 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002806/0.8311, allocations: 99.44 kB / 1.284 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.8314, allocations: 402.2 kB / 1.285 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.8314, allocations: 0 / 1.285 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/2.136, allocations: 20.47 MB / 1.305 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/13.49, allocations: 13.92 kB / 1.305 GB, free: 161.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)