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.0008835/0.0008834, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005452/0.005452, allocations: 169 kB / 16.26 MB, free: 6.652 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 9.812 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1457/0.4038, allocations: 150.2 MB / 1.205 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.4173, allocations: 10.43 MB / 1.216 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.4182, allocations: 19.88 kB / 1.216 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.4191, allocations: 222.5 kB / 1.216 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.4218, allocations: 0.8345 MB / 1.217 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.4242, allocations: 0.9443 MB / 1.218 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.4261, allocations: 1.709 MB / 1.219 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.4276, allocations: 0.9902 MB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.4294, allocations: 0.5592 MB / 1.221 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.4302, allocations: 0.4897 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.4303, allocations: 32 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.432, allocations: 0.9359 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.4323, allocations: 258.9 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.4329, allocations: 0.5686 MB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.4353, allocations: 2.083 MB / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4354, allocations: 0 / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4354, allocations: 0 / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.351e-05/0.4354, allocations: 3.938 kB / 1.225 GB, free: 9.941 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.002863/0.4383, allocations: 1.477 MB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4383, allocations: 15.97 kB / 1.227 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.4386, allocations: 156.1 kB / 1.227 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.4402, allocations: 286 kB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4415, allocations: 1.05 MB / 1.228 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.4416, allocations: 70 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.4417, allocations: 96 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4436, allocations: 1.121 MB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4436, allocations: 0 / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.4437, allocations: 44 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4438, allocations: 24 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4459, allocations: 1.335 MB / 1.231 GB, free: 4.133 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.004774/0.4507, allocations: 3.532 MB / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.4526, allocations: 1.118 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.4534, allocations: 432.2 kB / 1.236 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.4536, allocations: 146 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.4547, allocations: 0.6293 MB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.014e-06/0.4547, allocations: 0 / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004046/0.4587, allocations: 1.67 MB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.4588, allocations: 192.9 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.46, allocations: 1.025 MB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.4601, allocations: 49.7 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.4605, allocations: 472.4 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.4608, allocations: 311.5 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4609, allocations: 73.67 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.461, allocations: 334 kB / 1.24 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.4617, allocations: 337.8 kB / 1.241 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008203/0.4626, allocations: 485.1 kB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.464, allocations: 0.7804 MB / 1.242 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4641, allocations: 0 / 1.242 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002362/0.4664, allocations: 1.064 MB / 1.243 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4665, allocations: 4 kB / 1.243 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4665, allocations: 0 / 1.243 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.4672, allocations: 117.7 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/0.4681, allocations: 203.7 kB / 1.243 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.4709, allocations: 2.868 MB / 1.246 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/0.4718, allocations: 127.1 kB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.4719, allocations: 39.97 kB / 1.246 GB, free: 3.5 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.0004912/0.4724, allocations: 301.5 kB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4726, allocations: 106.7 kB / 1.247 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.4755, allocations: 1.342 MB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.4755, allocations: 12 kB / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4756, allocations: 0 / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4756, allocations: 7.969 kB / 1.248 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.53/1.006, allocations: 2.465 MB / 1.25 GB, free: 40.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.006, allocations: 0.9375 kB / 1.25 GB, free: 40.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/1.006, allocations: 192.1 kB / 1.25 GB, free: 40.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/1.007, allocations: 116.9 kB / 1.251 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/1.007, allocations: 31.33 kB / 1.251 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/1.01, allocations: 2.88 MB / 1.253 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.01, allocations: 0 / 1.253 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/1.012, allocations: 1.258 MB / 1.255 GB, free: 37.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/1.013, allocations: 333.5 kB / 1.255 GB, free: 37.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.013, allocations: 24.78 kB / 1.255 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/1.014, allocations: 103.9 kB / 1.255 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.014, allocations: 81.02 kB / 1.255 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/1.014, allocations: 48.47 kB / 1.255 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007392/1.015, allocations: 0.7475 MB / 1.256 GB, free: 37.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.015, allocations: 2.625 kB / 1.256 GB, free: 37.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001017/1.016, allocations: 448.8 kB / 1.256 GB, free: 37.37 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.003669/1.019, allocations: 2.426 MB / 1.259 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.021, allocations: 1.13 MB / 1.26 GB, free: 36.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.021, allocations: 2.938 kB / 1.26 GB, free: 36.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.022, allocations: 0.7428 MB / 1.261 GB, free: 36.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.024, allocations: 335.4 kB / 1.261 GB, free: 36.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.038, allocations: 9.188 MB / 1.27 GB, free: 33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/1.038, allocations: 1.111 MB / 1.271 GB, free: 32.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00121/1.04, allocations: 311.3 kB / 1.271 GB, free: 32.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/1.04, allocations: 466.4 kB / 1.272 GB, free: 32.18 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.04, allocations: 0.5312 kB / 1.272 GB, free: 32.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.139/4.179, allocations: 26.62 MB / 1.298 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/4.179, allocations: 312.1 kB / 1.298 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/7.023, allocations: 2.75 kB / 1.298 GB, free: 29.69 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)