Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_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.001768/0.001768, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.369/2.369, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 69.41 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2335, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1516/0.3851, allocations: 154.5 MB / 1.215 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.3976, allocations: 10.54 MB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.398, allocations: 19.88 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.3987, allocations: 285.6 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4005, allocations: 0.9655 MB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4023, allocations: 1.079 MB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.4038, allocations: 1.71 MB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.405, allocations: 1.15 MB / 1.23 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.4063, allocations: 0.718 MB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.407, allocations: 0.6146 MB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.4071, allocations: 132 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.4085, allocations: 1.006 MB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.4088, allocations: 378.9 kB / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.4094, allocations: 0.6841 MB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.4114, allocations: 2.181 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4114, allocations: 0 / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4114, allocations: 0 / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.4115, allocations: 0 / 1.236 GB, free: 13.58 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002588/0.414, allocations: 1.743 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4141, allocations: 16.02 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.4142, allocations: 148.1 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.4156, allocations: 270.1 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4169, allocations: 1.054 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.4169, allocations: 70 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4171, allocations: 99.94 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.4188, allocations: 1.11 MB / 1.24 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4188, allocations: 0 / 1.24 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.4189, allocations: 40 kB / 1.24 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4189, allocations: 24 kB / 1.24 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4209, allocations: 1.323 MB / 1.242 GB, free: 7.543 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.004567/0.4255, allocations: 3.491 MB / 1.245 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.4274, allocations: 1.11 MB / 1.246 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.4281, allocations: 423.7 kB / 1.247 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.4283, allocations: 138 kB / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009843/0.4293, allocations: 0.6216 MB / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 1.793e-06/0.4293, allocations: 0 / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.3391/0.7684, allocations: 1.632 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.7685, allocations: 198.4 kB / 1.249 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.7698, allocations: 1.018 MB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.7699, allocations: 45.8 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.7702, allocations: 471.4 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.7705, allocations: 307 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.7708, allocations: 171.1 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.7708, allocations: 338.5 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006377/0.7715, allocations: 330.4 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.7722, allocations: 472.5 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.7735, allocations: 0.7729 MB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7735, allocations: 0 / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002159/0.7757, allocations: 1.043 MB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7757, allocations: 5.938 kB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7757, allocations: 1.938 kB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.7764, allocations: 110.1 kB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.7771, allocations: 205.1 kB / 1.254 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.7792, allocations: 3.067 MB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.7799, allocations: 107.9 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.78, allocations: 36.78 kB / 1.257 GB, free: 182.6 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.0003335/0.7803, allocations: 309.3 kB / 1.258 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.7805, allocations: 109.1 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.7828, allocations: 1.322 MB / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7828, allocations: 13.59 kB / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7828, allocations: 3.375 kB / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.7828, allocations: 9.188 kB / 1.259 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.7859, allocations: 2.436 MB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7859, allocations: 1 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.7865, allocations: 193.9 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.787, allocations: 106.4 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.7871, allocations: 33.95 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.7889, allocations: 3.093 MB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7889, allocations: 0 / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.7909, allocations: 1.234 MB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.7912, allocations: 319.8 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.7913, allocations: 22.95 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.792, allocations: 81.31 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.7922, allocations: 87.02 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.7923, allocations: 42.25 kB / 1.266 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006141/0.7929, allocations: 0.7469 MB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7929, allocations: 0 / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008427/0.7937, allocations: 453.9 kB / 1.268 GB, free: 178.2 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.04302/0.8368, allocations: 2.4 MB / 1.27 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.8392, allocations: 1.359 MB / 1.271 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8392, allocations: 1.281 kB / 1.271 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.8402, allocations: 0.739 MB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8414, allocations: 366.4 kB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.852, allocations: 8.677 MB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.8525, allocations: 1.102 MB / 1.282 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008931/0.8534, allocations: 322.2 kB / 1.282 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.8539, allocations: 463.9 kB / 1.283 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.8539, allocations: 0 / 1.283 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 36/36.85, allocations: 28.01 MB / 1.31 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/61.3, allocations: 7.938 kB / 1.31 GB, free: 154.6 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)