Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001667/0.001667, 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.001911/0.001911, allocations: 195 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.174/2.174, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.379/4.379, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 66.38 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4774, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2513/0.7288, allocations: 152.4 MB / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.7491, allocations: 10.41 MB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.7505, allocations: 19.88 kB / 1.211 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.752, allocations: 226.5 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.7564, allocations: 0.8751 MB / 1.212 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.7603, allocations: 0.9701 MB / 1.213 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.7635, allocations: 1.721 MB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.7661, allocations: 1.15 MB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.7694, allocations: 0.7192 MB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.7709, allocations: 0.6185 MB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004583/0.7714, allocations: 139.9 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.7743, allocations: 1.014 MB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.7749, allocations: 374.9 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.7761, allocations: 0.6763 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.7811, allocations: 2.216 MB / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.7811, allocations: 0 / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7811, allocations: 0 / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.566e-05/0.7812, allocations: 4 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.006969/0.7882, allocations: 1.73 MB / 1.224 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.7883, allocations: 8.625 kB / 1.224 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004491/0.7888, allocations: 160.1 kB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.7917, allocations: 266.1 kB / 1.224 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.7941, allocations: 1.058 MB / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.7943, allocations: 70 kB / 1.225 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.7945, allocations: 95.94 kB / 1.225 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.7978, allocations: 1.11 MB / 1.226 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.7978, allocations: 0 / 1.226 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.798, allocations: 40 kB / 1.226 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.798, allocations: 24 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.8017, allocations: 1.315 MB / 1.228 GB, free: 4.492 MB / 0.9825 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.008715/0.8105, allocations: 3.508 MB / 1.231 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.8139, allocations: 1.101 MB / 1.232 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.8151, allocations: 427.7 kB / 1.232 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.8155, allocations: 150 kB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.8173, allocations: 0.6138 MB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/0.8174, allocations: 0 / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.006467/0.8238, allocations: 1.635 MB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.824, allocations: 196.9 kB / 1.235 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.8262, allocations: 1.025 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.8264, allocations: 41.7 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.827, allocations: 468.5 kB / 1.236 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.8275, allocations: 319.5 kB / 1.237 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/0.8279, allocations: 166.5 kB / 1.237 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.8282, allocations: 345.9 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.8294, allocations: 325.8 kB / 1.238 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.8308, allocations: 473.1 kB / 1.238 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.8331, allocations: 0.7687 MB / 1.239 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.8332, allocations: 0 / 1.239 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003942/0.8371, allocations: 1.041 MB / 1.24 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.8372, allocations: 4 kB / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.8372, allocations: 4 kB / 1.24 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.8382, allocations: 117.5 kB / 1.24 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.8397, allocations: 195.7 kB / 1.24 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.8631, allocations: 3.062 MB / 1.243 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.865, allocations: 119.2 kB / 1.243 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.8652, allocations: 35.97 kB / 1.243 GB, free: 3.715 MB / 0.9981 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001126/0.8664, allocations: 318.9 kB / 1.244 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.8669, allocations: 102.8 kB / 1.244 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/0.872, allocations: 1.33 MB / 1.245 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.8721, allocations: 8 kB / 1.245 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8721, allocations: 4 kB / 1.245 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.8721, allocations: 3.984 kB / 1.245 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6669/1.539, allocations: 2.428 MB / 1.247 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.539, allocations: 0.7031 kB / 1.247 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.541, allocations: 190.3 kB / 1.248 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/1.542, allocations: 108.5 kB / 1.248 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.542, allocations: 31.14 kB / 1.248 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/1.546, allocations: 3.09 MB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.546, allocations: 1.125 kB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/1.55, allocations: 1.233 MB / 1.252 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/1.551, allocations: 321.4 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/1.551, allocations: 27.47 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.552, allocations: 87.86 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/1.552, allocations: 81.27 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.553, allocations: 45.75 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001251/1.554, allocations: 0.7467 MB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.554, allocations: 0 / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001715/1.556, allocations: 459.3 kB / 1.254 GB, free: 189.7 MB / 0.9981 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 1 system {(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.006553/1.562, allocations: 2.4 MB / 1.256 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00467/1.567, allocations: 1.351 MB / 1.257 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.567, allocations: 3.344 kB / 1.257 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.569, allocations: 0.7408 MB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.571, allocations: 373 kB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/1.596, allocations: 9.121 MB / 1.267 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.598, allocations: 1.11 MB / 1.268 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002299/1.6, allocations: 314.9 kB / 1.269 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.601, allocations: 464.7 kB / 1.269 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.384e-06/1.601, allocations: 4 kB / 1.269 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7343/2.335, allocations: 27.73 MB / 1.296 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/2.336, allocations: 298.9 kB / 1.296 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/9.722, allocations: 2.031 kB / 1.296 GB, free: 172.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)