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.00494/0.004946, allocations: 98.64 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001327, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.706/2.706, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 63.84 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7622, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.186/0.9482, allocations: 157.9 MB / 1.32 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.977, allocations: 22.14 MB / 1.342 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.9791, allocations: 63.69 kB / 1.342 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.9812, allocations: 1.379 MB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.9831, allocations: 1.023 MB / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.9848, allocations: 0.6412 MB / 1.345 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.9869, allocations: 1.696 MB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.9883, allocations: 0.9628 MB / 1.348 GB, free: 9.281 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.9894, allocations: 0.7281 MB / 1.348 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.9912, allocations: 1.193 MB / 1.349 GB, free: 7.355 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.9914, allocations: 88 kB / 1.35 GB, free: 7.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.9919, allocations: 140 kB / 1.35 GB, free: 7.133 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.9924, allocations: 420.3 kB / 1.35 GB, free: 6.723 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.9931, allocations: 0.6597 MB / 1.351 GB, free: 6.059 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.9952, allocations: 1.607 MB / 1.352 GB, free: 4.445 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9953, allocations: 0 / 1.352 GB, free: 4.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9953, allocations: 0 / 1.352 GB, free: 4.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.81e-05/0.9953, allocations: 7.938 kB / 1.352 GB, free: 4.438 MB / 1.076 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.003462/0.9988, allocations: 1.968 MB / 1.354 GB, free: 2.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.9988, allocations: 12.92 kB / 1.354 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.999, allocations: 110.7 kB / 1.354 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.9993, allocations: 199.7 kB / 1.355 GB, free: 2.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.001, allocations: 0.8958 MB / 1.355 GB, free: 1.145 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/1.001, allocations: 90.94 kB / 1.355 GB, free: 1.051 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.001, allocations: 67.98 kB / 1.356 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/1.003, allocations: 0.7177 MB / 1.356 GB, free: 244 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/1.003, allocations: 3.938 kB / 1.356 GB, free: 240 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/1.003, allocations: 31.98 kB / 1.356 GB, free: 208 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/1.003, allocations: 16 kB / 1.356 GB, free: 192 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/1.004, allocations: 0.536 MB / 1.357 GB, free: 15.65 MB / 1.092 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.005848/1.01, allocations: 3.617 MB / 1.36 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.011, allocations: 0.6091 MB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008593/1.012, allocations: 378.3 kB / 1.361 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/1.012, allocations: 4.562 kB / 1.361 GB, free: 10.76 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008752/1.013, allocations: 382.8 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of pre-optimization done (n=65): time 3.476e-06/1.013, allocations: 7.938 kB / 1.362 GB, free: 10.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=65): time 0.005518/1.019, allocations: 1.785 MB / 1.363 GB, free: 8.531 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/1.019, allocations: 67.84 kB / 1.363 GB, free: 8.453 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/1.022, allocations: 2.251 MB / 1.366 GB, free: 6.195 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.022, allocations: 49.69 kB / 1.366 GB, free: 6.141 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/1.023, allocations: 0.7153 MB / 1.366 GB, free: 5.422 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/1.023, allocations: 226.1 kB / 1.367 GB, free: 5.199 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/1.023, allocations: 130.7 kB / 1.367 GB, free: 5.066 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.023, allocations: 333.9 kB / 1.367 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/1.024, allocations: 281.8 kB / 1.367 GB, free: 4.461 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007862/1.025, allocations: 420.7 kB / 1.368 GB, free: 4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.026, allocations: 0.6693 MB / 1.368 GB, free: 3.281 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.026, allocations: 4 kB / 1.368 GB, free: 3.277 MB / 1.092 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002628/1.029, allocations: 1.117 MB / 1.37 GB, free: 2.152 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.029, allocations: 10.5 kB / 1.37 GB, free: 2.145 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.029, allocations: 8 kB / 1.37 GB, free: 2.137 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009305/1.03, allocations: 273.5 kB / 1.37 GB, free: 1.867 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/1.03, allocations: 119.8 kB / 1.37 GB, free: 1.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/1.036, allocations: 3.708 MB / 1.374 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/1.037, allocations: 91.53 kB / 1.374 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/1.037, allocations: 31.98 kB / 1.374 GB, free: 13.79 MB / 1.107 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.0007243/1.038, allocations: 465.5 kB / 1.374 GB, free: 13.33 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/1.038, allocations: 162.9 kB / 1.374 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/1.039, allocations: 187.7 kB / 1.374 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.039, allocations: 15.98 kB / 1.374 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.039, allocations: 3.938 kB / 1.374 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.039, allocations: 0 / 1.374 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/1.043, allocations: 2.042 MB / 1.376 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.043, allocations: 4 kB / 1.376 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.043, allocations: 59.89 kB / 1.376 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008346/1.044, allocations: 280.2 kB / 1.377 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/1.044, allocations: 16 kB / 1.377 GB, free: 10.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006841/1.051, allocations: 5.238 MB / 1.382 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.051, allocations: 0 / 1.382 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.054, allocations: 1.407 MB / 1.383 GB, free: 3.555 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/1.054, allocations: 275.9 kB / 1.384 GB, free: 3.266 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.055, allocations: 16 kB / 1.384 GB, free: 3.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/1.055, allocations: 40.09 kB / 1.384 GB, free: 3.211 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.055, allocations: 72.39 kB / 1.384 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/1.055, allocations: 24 kB / 1.384 GB, free: 3.117 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002075/1.057, allocations: 1.631 MB / 1.385 GB, free: 1.492 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.057, allocations: 0 / 1.385 GB, free: 1.492 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009899/1.058, allocations: 271.6 kB / 1.386 GB, free: 1.227 MB / 1.107 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.004961/1.063, allocations: 2.348 MB / 1.388 GB, free: 15.03 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.065, allocations: 0.8991 MB / 1.389 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.065, allocations: 3.938 kB / 1.389 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.067, allocations: 0.6909 MB / 1.389 GB, free: 13.39 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.068, allocations: 280 kB / 1.39 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.086, allocations: 11.03 MB / 1.4 GB, free: 1.809 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.088, allocations: 1.318 MB / 1.402 GB, free: 472 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004568/1.088, allocations: 126.4 kB / 1.402 GB, free: 340 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007105/1.089, allocations: 0.5423 MB / 1.402 GB, free: 15.79 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.089, allocations: 0 / 1.402 GB, free: 15.79 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/1.163, allocations: 29.2 MB / 1.431 GB, free: 2.832 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.68, allocations: 13.89 kB / 1.431 GB, free: 2.82 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)