Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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.001074/0.001074, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007945/0.007945, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.064/2.064, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5148, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1477/0.6625, allocations: 162.7 MB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.6799, allocations: 17.01 MB / 1.131 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005935/0.6805, allocations: 27.81 kB / 1.131 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.6815, allocations: 453.3 kB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.6845, allocations: 1.5 MB / 1.133 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.6869, allocations: 1.256 MB / 1.134 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.6892, allocations: 2.899 MB / 1.137 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.691, allocations: 1.717 MB / 1.138 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.6948, allocations: 1.079 MB / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008537/0.6957, allocations: 0.8628 MB / 1.14 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.6958, allocations: 48 kB / 1.14 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.6979, allocations: 1.513 MB / 1.142 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.6984, allocations: 0.6031 MB / 1.142 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.6992, allocations: 1.011 MB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.7021, allocations: 3.449 MB / 1.147 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7021, allocations: 0 / 1.147 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7021, allocations: 0 / 1.147 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.7021, allocations: 0 / 1.147 GB, free: 10.58 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003441/0.7055, allocations: 2.402 MB / 1.149 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.7056, allocations: 8.031 kB / 1.149 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/0.7059, allocations: 248.8 kB / 1.149 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.7092, allocations: 0.5745 MB / 1.15 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.7126, allocations: 3.386 MB / 1.153 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.7127, allocations: 127.4 kB / 1.153 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.7129, allocations: 179.9 kB / 1.153 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.7158, allocations: 1.948 MB / 1.155 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.7158, allocations: 0 / 1.155 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.716, allocations: 72 kB / 1.155 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.716, allocations: 44 kB / 1.155 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.7192, allocations: 2.097 MB / 1.157 GB, free: 15.32 MB / 0.92 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.007716/0.727, allocations: 6.256 MB / 1.164 GB, free: 8.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.73, allocations: 2.098 MB / 1.166 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.7311, allocations: 0.7647 MB / 1.166 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/0.7316, allocations: 433.6 kB / 1.167 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.7331, allocations: 1.005 MB / 1.168 GB, free: 4.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.395e-06/0.7331, allocations: 0 / 1.168 GB, free: 4.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.005867/0.7389, allocations: 2.985 MB / 1.171 GB, free: 1.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.739, allocations: 201.2 kB / 1.171 GB, free: 1.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.7427, allocations: 4.049 MB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.7429, allocations: 61.69 kB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.7435, allocations: 0.8982 MB / 1.176 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.7438, allocations: 481 kB / 1.176 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7439, allocations: 97.67 kB / 1.176 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.744, allocations: 357.9 kB / 1.177 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000987/0.745, allocations: 0.5726 MB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.7462, allocations: 0.793 MB / 1.178 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.7483, allocations: 1.321 MB / 1.179 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7483, allocations: 4 kB / 1.179 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003285/0.7516, allocations: 1.783 MB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7517, allocations: 4 kB / 1.181 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7517, allocations: 0 / 1.181 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.7527, allocations: 220.2 kB / 1.181 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.754, allocations: 319.6 kB / 1.182 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.7589, allocations: 6.805 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.7601, allocations: 203.5 kB / 1.188 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.7603, allocations: 51.97 kB / 1.188 GB, free: 14.21 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006406/0.7609, allocations: 489.4 kB / 1.189 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.7612, allocations: 189.7 kB / 1.189 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.7655, allocations: 2.145 MB / 1.191 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.7656, allocations: 16 kB / 1.191 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7656, allocations: 4 kB / 1.191 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.7656, allocations: 7.969 kB / 1.191 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.7715, allocations: 4.126 MB / 1.195 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7716, allocations: 0 / 1.195 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.7729, allocations: 315.5 kB / 1.196 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/0.7738, allocations: 224 kB / 1.196 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.829e-05/0.7739, allocations: 39.97 kB / 1.196 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.7788, allocations: 6.835 MB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7788, allocations: 4.031 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.7823, allocations: 2.014 MB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006827/0.783, allocations: 0.5176 MB / 1.205 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.7832, allocations: 24 kB / 1.205 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.7845, allocations: 155.6 kB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.7847, allocations: 113.1 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.7848, allocations: 71.95 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002867/0.7877, allocations: 3.116 MB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7877, allocations: 0 / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001381/0.7891, allocations: 0.6548 MB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005225/0.7943, allocations: 3.212 MB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.7973, allocations: 2.055 MB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7973, allocations: 8.5 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.7991, allocations: 1.418 MB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.8012, allocations: 0.5013 MB / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.8313, allocations: 23.32 MB / 1.239 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.8323, allocations: 1.529 MB / 1.24 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001679/0.834, allocations: 0.5442 MB / 1.241 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.8351, allocations: 0.8975 MB / 1.242 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.8351, allocations: 0 / 1.242 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.329/2.164, allocations: 45.26 MB / 1.286 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/2.165, allocations: 282.5 kB / 1.286 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/5.346, allocations: 0 / 1.286 GB, free: 260.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)