Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase6,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_10_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.001281/0.001281, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001335/0.001335, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.545/2.545, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.91 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6122, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1472/0.7595, allocations: 154.9 MB / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.7809, allocations: 21.61 MB / 1.189 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.7826, allocations: 51.69 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.7843, allocations: 1.313 MB / 1.191 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.7858, allocations: 0.9229 MB / 1.192 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.7869, allocations: 456.3 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.7884, allocations: 1.438 MB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.7892, allocations: 0.7947 MB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005972/0.7898, allocations: 0.6464 MB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009776/0.7908, allocations: 1.141 MB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.7909, allocations: 75.94 kB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.7911, allocations: 124 kB / 1.196 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.7914, allocations: 392.5 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.7918, allocations: 0.5588 MB / 1.197 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.7928, allocations: 1.339 MB / 1.198 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7928, allocations: 7.938 kB / 1.198 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.81e-07/0.7928, allocations: 0 / 1.198 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.7928, allocations: 0 / 1.198 GB, free: 8.332 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002159/0.795, allocations: 1.679 MB / 1.2 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7951, allocations: 8.031 kB / 1.2 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/0.7952, allocations: 94.69 kB / 1.2 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.7954, allocations: 163 kB / 1.2 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007842/0.7962, allocations: 0.7436 MB / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.7963, allocations: 78.67 kB / 1.201 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.7964, allocations: 52 kB / 1.201 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.7974, allocations: 0.5653 MB / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7974, allocations: 7.906 kB / 1.202 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.7974, allocations: 27.92 kB / 1.202 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.7975, allocations: 12 kB / 1.202 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.7983, allocations: 443.7 kB / 1.202 GB, free: 4.34 MB / 0.9512 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.003281/0.8016, allocations: 3.017 MB / 1.205 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.8026, allocations: 497.3 kB / 1.205 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.8032, allocations: 309.4 kB / 1.206 GB, free: 256 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.8032, allocations: 8.359 kB / 1.206 GB, free: 248 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.8038, allocations: 333.1 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 2.184e-06/0.8038, allocations: 0 / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.002965/0.8068, allocations: 1.349 MB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.8069, allocations: 59.84 kB / 1.207 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.8088, allocations: 2.116 MB / 1.21 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.8088, allocations: 37.7 kB / 1.21 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.8093, allocations: 0.6245 MB / 1.21 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.8094, allocations: 177.6 kB / 1.21 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.8096, allocations: 106.3 kB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8097, allocations: 330 kB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.8102, allocations: 229.2 kB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.8108, allocations: 353.8 kB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.8117, allocations: 0.5488 MB / 1.212 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8118, allocations: 3.938 kB / 1.212 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001618/0.8134, allocations: 0.9079 MB / 1.213 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8134, allocations: 8 kB / 1.213 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8134, allocations: 0 / 1.213 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.8139, allocations: 196.8 kB / 1.213 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.8143, allocations: 111.8 kB / 1.213 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.8177, allocations: 3.055 MB / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.8181, allocations: 87.55 kB / 1.216 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8181, allocations: 23.98 kB / 1.216 GB, free: 5.289 MB / 0.9669 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.0004454/0.8186, allocations: 437.2 kB / 1.217 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8187, allocations: 142.2 kB / 1.217 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.819, allocations: 166 kB / 1.217 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.819, allocations: 11.94 kB / 1.217 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.819, allocations: 8 kB / 1.217 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.819, allocations: 0 / 1.217 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.8215, allocations: 1.734 MB / 1.219 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8215, allocations: 4 kB / 1.219 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.8217, allocations: 47.97 kB / 1.219 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.8222, allocations: 203.6 kB / 1.219 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.8222, allocations: 12 kB / 1.219 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/0.8262, allocations: 4.616 MB / 1.223 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8263, allocations: 0 / 1.223 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.8281, allocations: 1.158 MB / 1.224 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.8284, allocations: 243.3 kB / 1.225 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/0.8285, allocations: 16 kB / 1.225 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.8289, allocations: 35.95 kB / 1.225 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.829, allocations: 56.36 kB / 1.225 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.8291, allocations: 27.92 kB / 1.225 GB, free: 12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001439/0.8305, allocations: 1.545 MB / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8305, allocations: 0 / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007597/0.8313, allocations: 231.6 kB / 1.227 GB, free: 10.23 MB / 0.9825 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.003143/0.8344, allocations: 2.105 MB / 1.229 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.8361, allocations: 0.8053 MB / 1.229 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8361, allocations: 0.5625 kB / 1.229 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.837, allocations: 0.57 MB / 1.23 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.838, allocations: 234.8 kB / 1.23 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.8512, allocations: 10.89 MB / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.852, allocations: 1.246 MB / 1.242 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003134/0.8523, allocations: 105.1 kB / 1.242 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.8528, allocations: 471.3 kB / 1.243 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.8528, allocations: 0 / 1.243 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.604, allocations: 23.36 MB / 1.265 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/2.604, allocations: 277.9 kB / 1.266 GB, free: 232 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/5.354, allocations: 0 / 1.266 GB, free: 232 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)