Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.0009824/0.0009825, allocations: 97.64 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.005914/0.005914, allocations: 170.1 kB / 16.27 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.544/2.544, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 13.44 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2524, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1445/0.3969, allocations: 163.7 MB / 1.219 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.4149, allocations: 16.86 MB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.416, allocations: 19.88 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.4173, allocations: 473.1 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.4209, allocations: 1.449 MB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.4235, allocations: 1.166 MB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003692/0.4272, allocations: 2.844 MB / 1.241 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.4299, allocations: 1.605 MB / 1.243 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.4343, allocations: 1.031 MB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.4354, allocations: 0.7733 MB / 1.244 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.4357, allocations: 40 kB / 1.244 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.438, allocations: 1.396 MB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.4384, allocations: 366.3 kB / 1.246 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.4394, allocations: 0.8327 MB / 1.247 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.4426, allocations: 2.939 MB / 1.25 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4426, allocations: 4 kB / 1.25 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4426, allocations: 0 / 1.25 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.728e-05/0.4427, allocations: 0 / 1.25 GB, free: 0.6602 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.4162/0.8588, allocations: 1.885 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8589, allocations: 13.84 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004451/0.8593, allocations: 253.3 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.863, allocations: 0.52 MB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.8646, allocations: 1.086 MB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.8647, allocations: 131.4 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.865, allocations: 163.8 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.868, allocations: 1.846 MB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.868, allocations: 3.938 kB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.8682, allocations: 76.7 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.8682, allocations: 40.38 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.8711, allocations: 1.88 MB / 1.257 GB, free: 190.7 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.007437/0.8785, allocations: 5.585 MB / 1.263 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.8811, allocations: 1.769 MB / 1.265 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.8822, allocations: 0.6554 MB / 1.265 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.8829, allocations: 0.8217 MB / 1.266 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.8845, allocations: 0.8967 MB / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/0.8845, allocations: 0 / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006597/0.8911, allocations: 2.579 MB / 1.269 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.8912, allocations: 200.8 kB / 1.27 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.8924, allocations: 0.8367 MB / 1.27 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.8925, allocations: 56.2 kB / 1.27 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.893, allocations: 0.6425 MB / 1.271 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/0.8933, allocations: 487.2 kB / 1.272 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.8935, allocations: 100.2 kB / 1.272 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.8936, allocations: 353.5 kB / 1.272 GB, free: 185 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.8947, allocations: 480.5 kB / 1.272 GB, free: 185 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.896, allocations: 0.6372 MB / 1.273 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.8987, allocations: 1.11 MB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8987, allocations: 0.5 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003462/0.9022, allocations: 1.512 MB / 1.276 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.9022, allocations: 8.531 kB / 1.276 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9022, allocations: 1.875 kB / 1.276 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008884/0.9031, allocations: 195.2 kB / 1.276 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.9046, allocations: 330.3 kB / 1.276 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.9085, allocations: 6.782 MB / 1.283 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9099, allocations: 177.1 kB / 1.283 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.9101, allocations: 48.98 kB / 1.283 GB, free: 176.9 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007063/0.9108, allocations: 384.1 kB / 1.283 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.911, allocations: 132.6 kB / 1.283 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.9149, allocations: 1.857 MB / 1.285 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.915, allocations: 14.81 kB / 1.285 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.915, allocations: 2.094 kB / 1.285 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/0.915, allocations: 7.734 kB / 1.285 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.9206, allocations: 3.459 MB / 1.289 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.9207, allocations: 0 / 1.289 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.922, allocations: 316.5 kB / 1.289 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007843/0.9228, allocations: 203.3 kB / 1.289 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.9229, allocations: 39.47 kB / 1.289 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.9266, allocations: 6.805 MB / 1.296 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9267, allocations: 1.125 kB / 1.296 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.93, allocations: 1.718 MB / 1.298 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.9307, allocations: 412.4 kB / 1.298 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.9309, allocations: 35.59 kB / 1.298 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.9321, allocations: 152.6 kB / 1.298 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.9324, allocations: 122.3 kB / 1.298 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9325, allocations: 71.38 kB / 1.298 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006982/0.9332, allocations: 0.5791 MB / 1.299 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9332, allocations: 1 kB / 1.299 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001497/0.9347, allocations: 0.6038 MB / 1.299 GB, free: 165.4 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.004719/0.9394, allocations: 2.888 MB / 1.302 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002902/0.9424, allocations: 1.84 MB / 1.304 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.9424, allocations: 2.469 kB / 1.304 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.9441, allocations: 1.314 MB / 1.305 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.9464, allocations: 0.4929 MB / 1.306 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.9623, allocations: 11.26 MB / 1.317 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.9629, allocations: 1.304 MB / 1.318 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001688/0.9646, allocations: 438.4 kB / 1.319 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007152/0.9653, allocations: 0.6437 MB / 1.319 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.9653, allocations: 4 kB / 1.319 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.232/3.197, allocations: 35.6 MB / 1.354 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/3.197, allocations: 293.5 kB / 1.354 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/6.416, allocations: 0 / 1.354 GB, free: 114.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)