Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001717/0.001717, 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.001883/0.001883, allocations: 195.6 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.718/2.718, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 66.52 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2648, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1722/0.437, allocations: 157 MB / 1.217 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02581/0.4629, allocations: 21.88 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.4643, allocations: 51.75 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.4661, allocations: 1.344 MB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.4676, allocations: 0.973 MB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4687, allocations: 0.5027 MB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4701, allocations: 1.434 MB / 1.243 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.471, allocations: 0.7696 MB / 1.244 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007021/0.4717, allocations: 0.6425 MB / 1.244 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.473, allocations: 1.113 MB / 1.245 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.4731, allocations: 72 kB / 1.246 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.4734, allocations: 116 kB / 1.246 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.4737, allocations: 376.5 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.4742, allocations: 0.5549 MB / 1.247 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4755, allocations: 1.343 MB / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4755, allocations: 0 / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4756, allocations: 0 / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.4756, allocations: 0 / 1.248 GB, free: 1.305 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.4166/0.8922, allocations: 1.676 MB / 1.25 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8923, allocations: 10.47 kB / 1.25 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.8924, allocations: 93 kB / 1.25 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.8927, allocations: 160.1 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.8935, allocations: 0.7391 MB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.8936, allocations: 75.77 kB / 1.251 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.8937, allocations: 59.5 kB / 1.251 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.8947, allocations: 0.575 MB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8947, allocations: 2.094 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.8948, allocations: 22.48 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.8948, allocations: 12.09 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.8956, allocations: 442.4 kB / 1.252 GB, free: 189.1 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.003063/0.8987, allocations: 3.023 MB / 1.255 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/0.8997, allocations: 0.4935 MB / 1.255 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.9002, allocations: 309.6 kB / 1.255 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.9003, allocations: 8.906 kB / 1.255 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.9008, allocations: 327.3 kB / 1.256 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.274e-06/0.9008, allocations: 4.781 kB / 1.256 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.002668/0.9035, allocations: 1.349 MB / 1.257 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.9035, allocations: 61.62 kB / 1.257 GB, free: 187 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.9051, allocations: 2.107 MB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.9051, allocations: 40.97 kB / 1.259 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.9055, allocations: 0.6265 MB / 1.26 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.9056, allocations: 175.8 kB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9057, allocations: 102.2 kB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.9057, allocations: 326.5 kB / 1.26 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.9062, allocations: 240.4 kB / 1.261 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.9067, allocations: 346.2 kB / 1.261 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.9075, allocations: 0.5502 MB / 1.261 GB, free: 186 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9075, allocations: 3.828 kB / 1.261 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001431/0.9089, allocations: 0.9132 MB / 1.262 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.909, allocations: 8.625 kB / 1.262 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.909, allocations: 2.688 kB / 1.262 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.9094, allocations: 196.2 kB / 1.263 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.9098, allocations: 102.9 kB / 1.263 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.9124, allocations: 3.06 MB / 1.266 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.9129, allocations: 76.78 kB / 1.266 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.9129, allocations: 22.09 kB / 1.266 GB, free: 183.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.9133, allocations: 446 kB / 1.266 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.9134, allocations: 137.8 kB / 1.266 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.9136, allocations: 165.5 kB / 1.266 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9137, allocations: 5.812 kB / 1.266 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9137, allocations: 2.969 kB / 1.266 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.9137, allocations: 2.062 kB / 1.266 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.9163, allocations: 1.736 MB / 1.268 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9163, allocations: 1.438 kB / 1.268 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.9166, allocations: 50.39 kB / 1.268 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.917, allocations: 200.2 kB / 1.268 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.9171, allocations: 17.38 kB / 1.268 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.9204, allocations: 4.611 MB / 1.273 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9204, allocations: 2.797 kB / 1.273 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.9222, allocations: 1.167 MB / 1.274 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.9224, allocations: 232.4 kB / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9225, allocations: 14.75 kB / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.9229, allocations: 32.08 kB / 1.274 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.923, allocations: 60.95 kB / 1.274 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.9231, allocations: 23.19 kB / 1.274 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001814/0.9249, allocations: 1.544 MB / 1.276 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9249, allocations: 0 / 1.276 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000774/0.9257, allocations: 223.3 kB / 1.276 GB, free: 177.1 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.003353/0.929, allocations: 2.104 MB / 1.278 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.9307, allocations: 0.8042 MB / 1.279 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9307, allocations: 1.219 kB / 1.279 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.9315, allocations: 0.5758 MB / 1.28 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.9325, allocations: 235 kB / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.9444, allocations: 10.56 MB / 1.29 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.9451, allocations: 1.246 MB / 1.291 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.9455, allocations: 113.5 kB / 1.291 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.9459, allocations: 478.3 kB / 1.292 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9459, allocations: 1.188 kB / 1.292 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/3.286, allocations: 23.69 MB / 1.315 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.28/23.57, allocations: 7.875 kB / 1.315 GB, free: 150.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)