Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_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.001424/0.001424, 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.001599/0.001599, allocations: 192.8 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 1.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.5641, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1509/0.7151, allocations: 166 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.7338, allocations: 16.88 MB / 1.196 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.7351, allocations: 27.81 kB / 1.196 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.7366, allocations: 473.1 kB / 1.196 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.7406, allocations: 1.474 MB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.7434, allocations: 1.201 MB / 1.199 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002806/0.7462, allocations: 2.696 MB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.7483, allocations: 1.89 MB / 1.203 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.7525, allocations: 1.332 MB / 1.204 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.7534, allocations: 1.02 MB / 1.205 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.7536, allocations: 208 kB / 1.206 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.7556, allocations: 1.427 MB / 1.207 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.7561, allocations: 0.5608 MB / 1.208 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.7568, allocations: 1.046 MB / 1.209 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.7596, allocations: 3.108 MB / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7596, allocations: 0 / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7596, allocations: 0 / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.7596, allocations: 4 kB / 1.212 GB, free: 10.63 MB / 0.9669 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.003337/0.763, allocations: 2.291 MB / 1.214 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.763, allocations: 12.03 kB / 1.214 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002623/0.7633, allocations: 249 kB / 1.214 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.7667, allocations: 0.505 MB / 1.215 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.768, allocations: 1.082 MB / 1.216 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.7681, allocations: 131.4 kB / 1.216 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.7683, allocations: 164 kB / 1.216 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.7711, allocations: 1.843 MB / 1.218 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.7711, allocations: 4 kB / 1.218 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.7713, allocations: 72 kB / 1.218 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.7713, allocations: 40 kB / 1.218 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/0.7742, allocations: 1.882 MB / 1.22 GB, free: 2.195 MB / 0.9669 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.006512/0.7807, allocations: 5.538 MB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.7834, allocations: 1.765 MB / 1.227 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.7844, allocations: 0.6554 MB / 1.227 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/0.7852, allocations: 0.8078 MB / 1.228 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.7867, allocations: 0.8918 MB / 1.229 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.845e-06/0.7867, allocations: 0 / 1.229 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.005556/0.7922, allocations: 2.548 MB / 1.232 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.7924, allocations: 213 kB / 1.232 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.7933, allocations: 0.8309 MB / 1.233 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.7934, allocations: 65.7 kB / 1.233 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.7938, allocations: 0.6446 MB / 1.233 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.7941, allocations: 481 kB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.7945, allocations: 238.8 kB / 1.234 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7946, allocations: 349.9 kB / 1.234 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/0.7955, allocations: 482.3 kB / 1.235 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.7965, allocations: 0.6263 MB / 1.235 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.7984, allocations: 1.099 MB / 1.236 GB, free: 128 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7984, allocations: 0 / 1.236 GB, free: 128 kB / 0.9825 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003074/0.8015, allocations: 1.507 MB / 1.238 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8015, allocations: 4 kB / 1.238 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8016, allocations: 0 / 1.238 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008806/0.8024, allocations: 196.2 kB / 1.238 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.8039, allocations: 327.6 kB / 1.238 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005009/0.8089, allocations: 7.295 MB / 1.246 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.81, allocations: 169.1 kB / 1.246 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.8101, allocations: 51.97 kB / 1.246 GB, free: 5.844 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.0005186/0.8106, allocations: 369.5 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.8109, allocations: 130.6 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.8147, allocations: 1.854 MB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8147, allocations: 16 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8147, allocations: 0 / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.8148, allocations: 11.97 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4056/1.22, allocations: 3.435 MB / 1.251 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.22, allocations: 0.7812 kB / 1.251 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.222, allocations: 316.9 kB / 1.252 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/1.223, allocations: 187.7 kB / 1.252 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.223, allocations: 41.33 kB / 1.252 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/1.227, allocations: 7.319 MB / 1.259 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.227, allocations: 0.5312 kB / 1.259 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/1.231, allocations: 1.71 MB / 1.261 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/1.231, allocations: 402.4 kB / 1.261 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.232, allocations: 31.56 kB / 1.261 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.233, allocations: 135 kB / 1.261 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.233, allocations: 119.2 kB / 1.261 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.233, allocations: 70.31 kB / 1.261 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007595/1.234, allocations: 0.5822 MB / 1.262 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.234, allocations: 0 / 1.262 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001469/1.235, allocations: 0.5979 MB / 1.263 GB, free: 222.2 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.005202/1.241, allocations: 2.877 MB / 1.265 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005088/1.246, allocations: 2.269 MB / 1.268 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.246, allocations: 2.656 kB / 1.268 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.248, allocations: 1.306 MB / 1.269 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.25, allocations: 0.5307 MB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.267, allocations: 11.22 MB / 1.28 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/1.268, allocations: 1.297 MB / 1.282 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001831/1.27, allocations: 445.5 kB / 1.282 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/1.271, allocations: 0.6503 MB / 1.283 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.271, allocations: 2.516 kB / 1.283 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.763/4.034, allocations: 37.02 MB / 1.319 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/4.034, allocations: 296.4 kB / 1.319 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/8.157, allocations: 0 / 1.319 GB, free: 181.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)