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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001122/0.001122, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.11 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2383, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1418/0.3802, allocations: 152.2 MB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3931, allocations: 10.59 MB / 1.211 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.3939, allocations: 19.88 kB / 1.211 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008918/0.3948, allocations: 234.4 kB / 1.211 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.3972, allocations: 0.8297 MB / 1.212 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3994, allocations: 0.9475 MB / 1.213 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.4011, allocations: 1.705 MB / 1.215 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.4024, allocations: 1.051 MB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.4041, allocations: 0.6319 MB / 1.216 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.4047, allocations: 0.5872 MB / 1.217 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4048, allocations: 64 kB / 1.217 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.4064, allocations: 0.9711 MB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.4067, allocations: 314.8 kB / 1.218 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.4073, allocations: 0.6137 MB / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.4093, allocations: 2.134 MB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4093, allocations: 0 / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.31e-07/0.4093, allocations: 0 / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.4093, allocations: 0 / 1.221 GB, free: 10.64 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.002899/0.4122, allocations: 1.745 MB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4123, allocations: 11.97 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.4124, allocations: 156.1 kB / 1.223 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.414, allocations: 270.1 kB / 1.223 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4153, allocations: 1.05 MB / 1.224 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.4154, allocations: 70 kB / 1.224 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.4155, allocations: 99.98 kB / 1.224 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.4173, allocations: 1.106 MB / 1.225 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4174, allocations: 4 kB / 1.225 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.4175, allocations: 40 kB / 1.225 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4175, allocations: 27.98 kB / 1.225 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.4197, allocations: 1.311 MB / 1.227 GB, free: 4.609 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.004907/0.4246, allocations: 3.496 MB / 1.23 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4265, allocations: 1.106 MB / 1.231 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.4273, allocations: 421.7 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.4275, allocations: 145.9 kB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.4286, allocations: 0.6138 MB / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.194e-06/0.4286, allocations: 0 / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.003971/0.4326, allocations: 1.627 MB / 1.234 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.4327, allocations: 196.8 kB / 1.234 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4339, allocations: 1.028 MB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.434, allocations: 45.7 kB / 1.235 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.4344, allocations: 472.5 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4347, allocations: 311.5 kB / 1.236 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.435, allocations: 166.5 kB / 1.236 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4352, allocations: 341.9 kB / 1.236 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.4359, allocations: 325.8 kB / 1.237 GB, free: 10 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4369, allocations: 473.1 kB / 1.237 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.4384, allocations: 0.7648 MB / 1.238 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4384, allocations: 4 kB / 1.238 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002397/0.4408, allocations: 1.041 MB / 1.239 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4408, allocations: 4 kB / 1.239 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4408, allocations: 4 kB / 1.239 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.4416, allocations: 121.5 kB / 1.239 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.4424, allocations: 199.7 kB / 1.239 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.4453, allocations: 2.851 MB / 1.242 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.4461, allocations: 119.2 kB / 1.242 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.4462, allocations: 35.97 kB / 1.242 GB, free: 4.074 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.0005085/0.4467, allocations: 309.5 kB / 1.243 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.4469, allocations: 102.8 kB / 1.243 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.4498, allocations: 1.322 MB / 1.244 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4498, allocations: 12 kB / 1.244 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4498, allocations: 0 / 1.244 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4498, allocations: 3.984 kB / 1.244 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3934/0.8432, allocations: 2.443 MB / 1.246 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8432, allocations: 0.7188 kB / 1.246 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/0.8441, allocations: 193.2 kB / 1.247 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006289/0.8448, allocations: 113.7 kB / 1.247 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.8449, allocations: 28.64 kB / 1.247 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.847, allocations: 2.873 MB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.847, allocations: 0.5156 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.8496, allocations: 1.24 MB / 1.251 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.85, allocations: 319.5 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.8502, allocations: 23.45 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.851, allocations: 87.14 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.8512, allocations: 87.98 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.8513, allocations: 42.05 kB / 1.251 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008056/0.8521, allocations: 0.7469 MB / 1.252 GB, free: 189 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8521, allocations: 0 / 1.252 GB, free: 189 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00101/0.8531, allocations: 461 kB / 1.252 GB, free: 189 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.003666/0.8568, allocations: 2.396 MB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.8586, allocations: 1.111 MB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8586, allocations: 3.844 kB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8596, allocations: 0.7292 MB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.8609, allocations: 343 kB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.8744, allocations: 9.123 MB / 1.266 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.875, allocations: 1.108 MB / 1.267 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00109/0.8761, allocations: 314.9 kB / 1.267 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/0.8767, allocations: 463.6 kB / 1.268 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.8767, allocations: 0 / 1.268 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6035/1.48, allocations: 27.03 MB / 1.294 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.48, allocations: 304.6 kB / 1.294 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/4.132, allocations: 4 kB / 1.294 GB, free: 173.5 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)