Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_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.001694/0.001694, 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.001981/0.001981, allocations: 192.5 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 2.244/2.244, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.127/4.127, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 66.75 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2876/0.6599, allocations: 166.1 MB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03547/0.6954, allocations: 17.16 MB / 1.231 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.6981, allocations: 27.81 kB / 1.231 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.7009, allocations: 493 kB / 1.232 GB, free: 232 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00992/0.7109, allocations: 1.632 MB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.7174, allocations: 1.296 MB / 1.235 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005929/0.7234, allocations: 2.855 MB / 1.238 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004796/0.7282, allocations: 1.944 MB / 1.239 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008774/0.737, allocations: 1.411 MB / 1.241 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.7399, allocations: 1.152 MB / 1.242 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000922/0.7409, allocations: 220 kB / 1.242 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.7459, allocations: 1.56 MB / 1.244 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.7472, allocations: 0.7984 MB / 1.244 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.7496, allocations: 1.279 MB / 1.246 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.9288/1.678, allocations: 3.717 MB / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/1.679, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.496e-06/1.679, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001128/1.679, allocations: 1.531 kB / 1.249 GB, free: 11.52 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.008746/1.687, allocations: 2.903 MB / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.688, allocations: 15.53 kB / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/1.688, allocations: 241.9 kB / 1.252 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006386/1.694, allocations: 0.5698 MB / 1.253 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007615/1.702, allocations: 3.389 MB / 1.256 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.702, allocations: 128.8 kB / 1.256 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005189/1.703, allocations: 168.4 kB / 1.257 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005871/1.709, allocations: 1.943 MB / 1.258 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/1.709, allocations: 0 / 1.258 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/1.709, allocations: 77.97 kB / 1.259 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/1.709, allocations: 43.06 kB / 1.259 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/1.715, allocations: 2.088 MB / 1.261 GB, free: 9.344 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.01874/1.734, allocations: 6.591 MB / 1.267 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/1.741, allocations: 2.091 MB / 1.269 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/1.743, allocations: 0.7624 MB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/1.744, allocations: 434.5 kB / 1.27 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003371/1.748, allocations: 1.007 MB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 1.038e-05/1.748, allocations: 0 / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.01243/1.76, allocations: 2.964 MB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/1.76, allocations: 201 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/1.769, allocations: 4.052 MB / 1.278 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005556/1.769, allocations: 61.95 kB / 1.278 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.771, allocations: 0.894 MB / 1.279 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008184/1.771, allocations: 479.5 kB / 1.28 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.773, allocations: 238.2 kB / 1.28 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.773, allocations: 356.1 kB / 1.28 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/1.775, allocations: 0.5725 MB / 1.281 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/1.777, allocations: 0.7916 MB / 1.282 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/1.781, allocations: 1.313 MB / 1.283 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.781, allocations: 0 / 1.283 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006723/1.788, allocations: 1.769 MB / 1.285 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.788, allocations: 4.812 kB / 1.285 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.788, allocations: 2 kB / 1.285 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.79, allocations: 217.4 kB / 1.285 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.792, allocations: 325.4 kB / 1.285 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/1.801, allocations: 7.318 MB / 1.292 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.804, allocations: 184.4 kB / 1.292 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/1.805, allocations: 49.81 kB / 1.292 GB, free: 12.88 MB / 1.014 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.002169/1.807, allocations: 494.8 kB / 1.293 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.808, allocations: 190 kB / 1.293 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007509/1.816, allocations: 2.141 MB / 1.295 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/1.816, allocations: 17.91 kB / 1.295 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.816, allocations: 3.75 kB / 1.295 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/1.816, allocations: 10.31 kB / 1.295 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.828, allocations: 4.102 MB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.828, allocations: 3.094 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.831, allocations: 313.8 kB / 1.3 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/1.832, allocations: 208.8 kB / 1.3 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/1.832, allocations: 42.27 kB / 1.3 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008188/1.84, allocations: 7.36 MB / 1.307 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.84, allocations: 0 / 1.307 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/1.848, allocations: 2.003 MB / 1.309 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/1.85, allocations: 0.5037 MB / 1.309 GB, free: 4.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/1.851, allocations: 36.7 kB / 1.309 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.854, allocations: 133.2 kB / 1.31 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/1.855, allocations: 116.7 kB / 1.31 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/1.855, allocations: 74.36 kB / 1.31 GB, free: 4.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005734/1.861, allocations: 3.114 MB / 1.313 GB, free: 4.582 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.01e-07/1.861, allocations: 0.9375 kB / 1.313 GB, free: 4.582 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003928/1.865, allocations: 0.691 MB / 1.313 GB, free: 4.48 MB / 1.014 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.01043/1.875, allocations: 3.207 MB / 1.317 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0092/1.885, allocations: 2.486 MB / 1.319 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.885, allocations: 2.469 kB / 1.319 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.888, allocations: 1.411 MB / 1.32 GB, free: 2.371 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005186/1.893, allocations: 0.5534 MB / 1.321 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05601/1.949, allocations: 23.13 MB / 1.344 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.951, allocations: 1.535 MB / 1.345 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003741/1.955, allocations: 0.5277 MB / 1.346 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.957, allocations: 0.8956 MB / 1.346 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 1.283e-06/1.957, allocations: 0 / 1.346 GB, free: 11.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.342/3.299, allocations: 48.27 MB / 1.394 GB, free: 3.516 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005323/3.299, allocations: 289 kB / 1.394 GB, free: 3.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/9.996, allocations: 4 kB / 1.394 GB, free: 3.129 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)