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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001776/0.001776, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002154/0.002154, allocations: 192 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.656/4.656, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 67.56 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3994, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2788/0.6783, allocations: 166 MB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04942/0.7277, allocations: 16.86 MB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.73, allocations: 31.75 kB / 1.231 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.7325, allocations: 469.1 kB / 1.231 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.7392, allocations: 1.472 MB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005581/0.7448, allocations: 1.203 MB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005554/0.7504, allocations: 2.696 MB / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.7547, allocations: 1.878 MB / 1.239 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/0.7632, allocations: 1.337 MB / 1.24 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.7655, allocations: 1.012 MB / 1.241 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.7662, allocations: 208 kB / 1.241 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.7711, allocations: 1.431 MB / 1.242 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008975/0.7721, allocations: 0.5569 MB / 1.243 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.7738, allocations: 1.038 MB / 1.244 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.7801, allocations: 3.112 MB / 1.247 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7801, allocations: 4 kB / 1.247 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7801, allocations: 0 / 1.247 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.342e-05/0.7802, allocations: 3.984 kB / 1.247 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.908/1.688, allocations: 2.276 MB / 1.249 GB, free: 195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/1.688, allocations: 13.59 kB / 1.249 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005055/1.689, allocations: 250.4 kB / 1.249 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/1.699, allocations: 0.5112 MB / 1.25 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/1.702, allocations: 1.089 MB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.702, allocations: 128.2 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/1.703, allocations: 166.3 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/1.708, allocations: 1.839 MB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/1.708, allocations: 3.938 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/1.708, allocations: 74.69 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/1.708, allocations: 45.17 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/1.714, allocations: 1.873 MB / 1.255 GB, free: 194.2 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.01309/1.727, allocations: 5.548 MB / 1.261 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/1.731, allocations: 1.758 MB / 1.262 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/1.733, allocations: 0.6602 MB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.734, allocations: 0.8022 MB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002985/1.737, allocations: 0.8974 MB / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 6.262e-06/1.737, allocations: 0 / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.01074/1.748, allocations: 2.556 MB / 1.267 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.748, allocations: 205.3 kB / 1.267 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.75, allocations: 0.8345 MB / 1.268 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/1.751, allocations: 58.23 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008085/1.751, allocations: 0.6433 MB / 1.269 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/1.752, allocations: 485.6 kB / 1.269 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006466/1.753, allocations: 236.2 kB / 1.269 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.753, allocations: 353.5 kB / 1.27 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/1.755, allocations: 475.4 kB / 1.27 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/1.757, allocations: 0.637 MB / 1.271 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/1.761, allocations: 1.096 MB / 1.272 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.761, allocations: 0.5312 kB / 1.272 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005868/1.767, allocations: 1.499 MB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/1.767, allocations: 5.844 kB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.767, allocations: 2.125 kB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/1.768, allocations: 195.7 kB / 1.274 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.771, allocations: 330.6 kB / 1.274 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.114/1.885, allocations: 7.303 MB / 1.281 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.888, allocations: 167.9 kB / 1.281 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/1.888, allocations: 49.02 kB / 1.281 GB, free: 179.7 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.00131/1.889, allocations: 372.3 kB / 1.282 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/1.89, allocations: 128.9 kB / 1.282 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/1.897, allocations: 1.846 MB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.897, allocations: 20.06 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.897, allocations: 1.062 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.897, allocations: 8.547 kB / 1.284 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/1.908, allocations: 3.453 MB / 1.287 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.908, allocations: 1.031 kB / 1.287 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.911, allocations: 313.5 kB / 1.287 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/1.912, allocations: 188.1 kB / 1.287 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.912, allocations: 42.78 kB / 1.287 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00661/1.919, allocations: 7.321 MB / 1.295 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.919, allocations: 0 / 1.295 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/1.925, allocations: 1.714 MB / 1.296 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.926, allocations: 397.3 kB / 1.297 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/1.927, allocations: 32.28 kB / 1.297 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.929, allocations: 127.7 kB / 1.297 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/1.929, allocations: 110.1 kB / 1.297 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/1.93, allocations: 78.81 kB / 1.297 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001324/1.931, allocations: 0.5753 MB / 1.297 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.931, allocations: 1.062 kB / 1.297 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002803/1.934, allocations: 0.6031 MB / 1.298 GB, free: 167.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.008659/1.943, allocations: 2.891 MB / 1.301 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008991/1.952, allocations: 2.273 MB / 1.303 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.952, allocations: 3.312 kB / 1.303 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/1.955, allocations: 1.305 MB / 1.304 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/1.958, allocations: 0.5363 MB / 1.305 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03062/1.989, allocations: 11.23 MB / 1.316 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.99, allocations: 1.293 MB / 1.317 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00344/1.994, allocations: 434.4 kB / 1.318 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.995, allocations: 0.6554 MB / 1.318 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.273e-06/1.995, allocations: 3.938 kB / 1.318 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.823/3.818, allocations: 37.01 MB / 1.354 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/3.818, allocations: 289.2 kB / 1.355 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/11.69, allocations: 3.938 kB / 1.355 GB, free: 114.2 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)