Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001714/0.001713, 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.001576/0.001576, allocations: 195.4 kB / 16.25 MB, free: 6.637 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.282/2.282, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.963/3.963, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 72 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3925, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.3717/0.7642, allocations: 173.8 MB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04479/0.8091, allocations: 15.47 MB / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006302/0.8155, allocations: 35.81 kB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.8186, allocations: 0.5243 MB / 1.238 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.8301, allocations: 1.45 MB / 1.239 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007205/0.8373, allocations: 1.526 MB / 1.241 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005457/0.8428, allocations: 2.902 MB / 1.244 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.8473, allocations: 1.825 MB / 1.245 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007606/0.8549, allocations: 1.393 MB / 1.247 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8051/1.66, allocations: 1.077 MB / 1.248 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/1.662, allocations: 198.2 kB / 1.248 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006014/1.668, allocations: 1.344 MB / 1.249 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/1.669, allocations: 0.5665 MB / 1.25 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/1.672, allocations: 1.038 MB / 1.251 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007507/1.68, allocations: 3.029 MB / 1.254 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.68, allocations: 0 / 1.254 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.817e-06/1.68, allocations: 2.625 kB / 1.254 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001227/1.68, allocations: 1.203 kB / 1.254 GB, free: 6.801 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.009105/1.689, allocations: 2.304 MB / 1.256 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.689, allocations: 9.594 kB / 1.256 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008258/1.69, allocations: 240 kB / 1.256 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/1.696, allocations: 463.7 kB / 1.257 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/1.7, allocations: 1.099 MB / 1.258 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/1.7, allocations: 124.4 kB / 1.258 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/1.701, allocations: 157.6 kB / 1.258 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006108/1.707, allocations: 1.792 MB / 1.26 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/1.707, allocations: 3.625 kB / 1.26 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/1.707, allocations: 68.31 kB / 1.26 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.097e-05/1.707, allocations: 49.97 kB / 1.26 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/1.713, allocations: 1.772 MB / 1.262 GB, free: 4.93 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.01636/1.73, allocations: 6.172 MB / 1.268 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/1.735, allocations: 1.571 MB / 1.269 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.737, allocations: 0.5629 MB / 1.27 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/1.738, allocations: 0.884 MB / 1.271 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002962/1.741, allocations: 0.8005 MB / 1.271 GB, free: 16.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 1.084e-05/1.742, allocations: 2.734 kB / 1.271 GB, free: 16.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.009597/1.751, allocations: 1.886 MB / 1.273 GB, free: 16.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.751, allocations: 196 kB / 1.273 GB, free: 16.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.754, allocations: 0.9812 MB / 1.274 GB, free: 16.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/1.755, allocations: 51.8 kB / 1.274 GB, free: 16.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/1.755, allocations: 0.6626 MB / 1.275 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/1.756, allocations: 421.3 kB / 1.275 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007019/1.757, allocations: 215 kB / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.757, allocations: 354.7 kB / 1.276 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.759, allocations: 423.5 kB / 1.276 GB, free: 15.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/1.761, allocations: 0.5968 MB / 1.277 GB, free: 15.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/1.764, allocations: 1.018 MB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.764, allocations: 2.438 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005366/1.769, allocations: 1.299 MB / 1.279 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.769, allocations: 8.625 kB / 1.279 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.769, allocations: 1.156 kB / 1.279 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.771, allocations: 87.12 kB / 1.279 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.773, allocations: 284.2 kB / 1.28 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/1.776, allocations: 1.663 MB / 1.281 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.779, allocations: 160.2 kB / 1.281 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.779, allocations: 48.34 kB / 1.281 GB, free: 13.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.78, allocations: 375.3 kB / 1.282 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/1.781, allocations: 139.4 kB / 1.282 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/1.788, allocations: 1.609 MB / 1.283 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/1.788, allocations: 12.62 kB / 1.284 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.788, allocations: 5.875 kB / 1.284 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/1.788, allocations: 9.891 kB / 1.284 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009627/1.797, allocations: 3.17 MB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.797, allocations: 2.125 kB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.8, allocations: 273.9 kB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/1.8, allocations: 72.56 kB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/1.801, allocations: 36.89 kB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/1.804, allocations: 1.672 MB / 1.289 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.804, allocations: 1 kB / 1.289 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007377/1.811, allocations: 2.184 MB / 1.291 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.812, allocations: 392.5 kB / 1.291 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/1.813, allocations: 28.44 kB / 1.291 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.815, allocations: 129.6 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/1.816, allocations: 93.06 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.816, allocations: 61.69 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001986/1.818, allocations: 0.6874 MB / 1.292 GB, free: 10.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.818, allocations: 1.688 kB / 1.292 GB, free: 10.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002647/1.821, allocations: 0.5436 MB / 1.293 GB, free: 10.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/1.831, allocations: 3.339 MB / 1.296 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007502/1.839, allocations: 1.665 MB / 1.298 GB, free: 9.664 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.839, allocations: 1.938 kB / 1.298 GB, free: 9.664 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.841, allocations: 0.7526 MB / 1.298 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004926/1.846, allocations: 0.5842 MB / 1.299 GB, free: 9.477 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/1.882, allocations: 11.37 MB / 1.31 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.883, allocations: 1.308 MB / 1.311 GB, free: 4.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003675/1.887, allocations: 434.1 kB / 1.312 GB, free: 4.371 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.889, allocations: 0.6632 MB / 1.312 GB, free: 4.367 MB / 1.014 GB Notification: Performance of SimCode: time 2.866e-06/1.889, allocations: 4 kB / 1.312 GB, free: 4.363 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.441/4.33, allocations: 36.8 MB / 1.348 GB, free: 9.219 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005848/4.331, allocations: 274.4 kB / 1.348 GB, free: 8.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/11.14, allocations: 0 / 1.348 GB, free: 8.855 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)