Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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.0009225/0.0009225, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005558/0.005558, allocations: 172 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 12.97 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1676/0.4233, allocations: 163.9 MB / 1.219 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02925/0.4525, allocations: 17.15 MB / 1.236 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.454, allocations: 23.81 kB / 1.236 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.4559, allocations: 485 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.4613, allocations: 1.579 MB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.4644, allocations: 1.274 MB / 1.239 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.4675, allocations: 3.092 MB / 1.242 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.4696, allocations: 1.667 MB / 1.243 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.4741, allocations: 1.101 MB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.4754, allocations: 0.9019 MB / 1.245 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.4756, allocations: 52 kB / 1.245 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.478, allocations: 1.505 MB / 1.247 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.4785, allocations: 0.5837 MB / 1.248 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.4795, allocations: 1.062 MB / 1.249 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4748/0.9542, allocations: 3.519 MB / 1.252 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9543, allocations: 0.5938 kB / 1.252 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9543, allocations: 0 / 1.252 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.823e-05/0.9543, allocations: 2.844 kB / 1.252 GB, free: 9.512 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003617/0.958, allocations: 2.425 MB / 1.254 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.958, allocations: 12.94 kB / 1.254 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.9583, allocations: 249 kB / 1.255 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.9618, allocations: 0.5748 MB / 1.255 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.965, allocations: 3.392 MB / 1.258 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.9651, allocations: 131.7 kB / 1.259 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.9652, allocations: 166.9 kB / 1.259 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.9682, allocations: 1.948 MB / 1.261 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.9682, allocations: 3.094 kB / 1.261 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9684, allocations: 71.5 kB / 1.261 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.9684, allocations: 41.14 kB / 1.261 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/0.9714, allocations: 2.103 MB / 1.263 GB, free: 7.398 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.008556/0.98, allocations: 6.621 MB / 1.269 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.9832, allocations: 2.098 MB / 1.271 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.9847, allocations: 0.7689 MB / 1.272 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.9852, allocations: 433.3 kB / 1.273 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.9868, allocations: 1.005 MB / 1.273 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.505e-06/0.9868, allocations: 0 / 1.273 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006402/0.9932, allocations: 2.993 MB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.9934, allocations: 197.1 kB / 1.277 GB, free: 19.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.9976, allocations: 4.053 MB / 1.281 GB, free: 19.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.9978, allocations: 59.77 kB / 1.281 GB, free: 19.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.9984, allocations: 0.8908 MB / 1.281 GB, free: 18.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.9987, allocations: 479.7 kB / 1.282 GB, free: 18.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.9988, allocations: 105.2 kB / 1.282 GB, free: 18.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9989, allocations: 353 kB / 1.282 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/0.9999, allocations: 0.5681 MB / 1.283 GB, free: 18.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/1.001, allocations: 0.808 MB / 1.284 GB, free: 17.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.003, allocations: 1.321 MB / 1.285 GB, free: 17.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.003, allocations: 1.031 kB / 1.285 GB, free: 17.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003345/1.006, allocations: 1.775 MB / 1.287 GB, free: 17.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.006, allocations: 5.438 kB / 1.287 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.006, allocations: 1.531 kB / 1.287 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009852/1.007, allocations: 220.5 kB / 1.287 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.009, allocations: 322.8 kB / 1.287 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004792/1.014, allocations: 6.816 MB / 1.294 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.015, allocations: 194.6 kB / 1.294 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.015, allocations: 49.66 kB / 1.294 GB, free: 11.24 MB / 1.014 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 (144): * Single equations (assignments): 139 * 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.0009415/1.016, allocations: 489.5 kB / 1.295 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/1.017, allocations: 193.2 kB / 1.295 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/1.02, allocations: 2.147 MB / 1.297 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.02, allocations: 21.17 kB / 1.297 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.02, allocations: 5.312 kB / 1.297 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.02, allocations: 6.375 kB / 1.297 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005663/1.026, allocations: 4.112 MB / 1.301 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.026, allocations: 7.469 kB / 1.301 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.027, allocations: 320.4 kB / 1.301 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000858/1.028, allocations: 214.1 kB / 1.301 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/1.028, allocations: 41.27 kB / 1.302 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/1.033, allocations: 6.846 MB / 1.308 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.033, allocations: 0 / 1.308 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/1.036, allocations: 2.011 MB / 1.31 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/1.037, allocations: 0.5177 MB / 1.311 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.037, allocations: 28.56 kB / 1.311 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.039, allocations: 157.9 kB / 1.311 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.039, allocations: 111.6 kB / 1.311 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.039, allocations: 74.72 kB / 1.311 GB, free: 3.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002464/1.041, allocations: 3.122 MB / 1.314 GB, free: 3.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.041, allocations: 0 / 1.314 GB, free: 3.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001775/1.043, allocations: 0.6861 MB / 1.315 GB, free: 3.199 MB / 1.014 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.004946/1.048, allocations: 3.215 MB / 1.318 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.051, allocations: 2.057 MB / 1.32 GB, free: 1.625 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.051, allocations: 0.5625 kB / 1.32 GB, free: 1.625 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.053, allocations: 1.418 MB / 1.321 GB, free: 1.062 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.055, allocations: 0.5191 MB / 1.322 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.083, allocations: 23.17 MB / 1.344 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/1.084, allocations: 1.525 MB / 1.346 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00185/1.086, allocations: 0.529 MB / 1.346 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.087, allocations: 0.8969 MB / 1.347 GB, free: 9.891 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/1.087, allocations: 0 / 1.347 GB, free: 9.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.457/3.544, allocations: 46.09 MB / 1.392 GB, free: 4.652 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003989/3.545, allocations: 286.1 kB / 1.393 GB, free: 4.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.703/7.247, allocations: 2.391 kB / 1.393 GB, free: 4.273 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)