Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_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.004442/0.004442, allocations: 101.8 kB / 15.73 MB, free: 5.562 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.001313/0.001313, allocations: 196.1 kB / 16.68 MB, free: 5.492 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: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.35/2.35, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001664, allocations: 75.81 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5719, allocations: 159.1 MB / 1.22 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1627/0.7346, allocations: 168.3 MB / 1.384 GB, free: 9.238 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.753, allocations: 17.07 MB / 1.401 GB, free: 8.113 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.7537, allocations: 31.81 kB / 1.401 GB, free: 8.082 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.7549, allocations: 0.5506 MB / 1.402 GB, free: 7.527 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.758, allocations: 1.602 MB / 1.403 GB, free: 5.922 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.7605, allocations: 1.333 MB / 1.405 GB, free: 4.598 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.7628, allocations: 2.696 MB / 1.407 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.7647, allocations: 1.882 MB / 1.409 GB, free: 15.95 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.7677, allocations: 1.337 MB / 1.41 GB, free: 14.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009744/0.7686, allocations: 0.9996 MB / 1.411 GB, free: 13.65 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.7689, allocations: 208 kB / 1.412 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.771, allocations: 1.423 MB / 1.413 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.7715, allocations: 0.553 MB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008597/0.7723, allocations: 1.038 MB / 1.414 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.7754, allocations: 3.133 MB / 1.418 GB, free: 7.281 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7754, allocations: 0 / 1.418 GB, free: 7.281 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7754, allocations: 3.938 kB / 1.418 GB, free: 7.277 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.7755, allocations: 4 kB / 1.418 GB, free: 7.273 MB / 1.139 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.003252/0.7787, allocations: 2.338 MB / 1.42 GB, free: 4.867 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.7787, allocations: 8.031 kB / 1.42 GB, free: 4.859 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/0.779, allocations: 245 kB / 1.42 GB, free: 4.609 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.7821, allocations: 0.5178 MB / 1.421 GB, free: 4.09 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.7836, allocations: 1.129 MB / 1.422 GB, free: 2.914 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/0.7837, allocations: 131.4 kB / 1.422 GB, free: 2.785 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.7839, allocations: 171.9 kB / 1.422 GB, free: 2.617 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.7867, allocations: 1.84 MB / 1.424 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.7867, allocations: 7.922 kB / 1.424 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.7869, allocations: 72 kB / 1.424 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.7869, allocations: 44 kB / 1.424 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.79, allocations: 1.878 MB / 1.426 GB, free: 14.72 MB / 1.154 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.006858/0.7969, allocations: 5.518 MB / 1.431 GB, free: 8.871 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.7997, allocations: 1.761 MB / 1.433 GB, free: 7.035 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.8008, allocations: 0.6476 MB / 1.433 GB, free: 6.383 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000818/0.8016, allocations: 0.8039 MB / 1.434 GB, free: 5.414 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.8031, allocations: 0.8957 MB / 1.435 GB, free: 4.496 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 2.294e-06/0.8031, allocations: 0 / 1.435 GB, free: 4.496 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.005561/0.8087, allocations: 2.561 MB / 1.438 GB, free: 1.824 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.8088, allocations: 201.2 kB / 1.438 GB, free: 1.586 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.8097, allocations: 0.8309 MB / 1.439 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.8098, allocations: 61.7 kB / 1.439 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.8103, allocations: 0.6538 MB / 1.439 GB, free: 0 / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.8107, allocations: 0.4996 MB / 1.44 GB, free: 15.5 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.811, allocations: 242.8 kB / 1.44 GB, free: 15.25 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8112, allocations: 345.9 kB / 1.44 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/0.8121, allocations: 482.3 kB / 1.441 GB, free: 14.44 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8132, allocations: 0.6339 MB / 1.441 GB, free: 13.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.8152, allocations: 1.099 MB / 1.443 GB, free: 12.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8153, allocations: 4 kB / 1.443 GB, free: 12.65 MB / 1.17 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003134/0.8184, allocations: 1.507 MB / 1.444 GB, free: 11.12 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8184, allocations: 8.094 kB / 1.444 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8184, allocations: 3.938 kB / 1.444 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008312/0.8193, allocations: 200.2 kB / 1.444 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8207, allocations: 323.6 kB / 1.445 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.8263, allocations: 7.288 MB / 1.452 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.8272, allocations: 147.1 kB / 1.452 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8274, allocations: 51.97 kB / 1.452 GB, free: 2.398 MB / 1.17 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.0005091/0.8279, allocations: 377.5 kB / 1.452 GB, free: 2.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.8281, allocations: 135.2 kB / 1.452 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.8319, allocations: 1.85 MB / 1.454 GB, free: 8 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.8319, allocations: 16.05 kB / 1.454 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8319, allocations: 0 / 1.454 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.832, allocations: 11.92 kB / 1.454 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/0.8373, allocations: 3.452 MB / 1.458 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8373, allocations: 4 kB / 1.458 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.8386, allocations: 311.6 kB / 1.458 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006646/0.8392, allocations: 180.1 kB / 1.458 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.8393, allocations: 43.95 kB / 1.458 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.8449, allocations: 7.323 MB / 1.465 GB, free: 3.871 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8449, allocations: 0 / 1.465 GB, free: 3.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.8482, allocations: 1.717 MB / 1.467 GB, free: 2.113 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.8487, allocations: 407.7 kB / 1.467 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.8488, allocations: 28 kB / 1.467 GB, free: 1.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8498, allocations: 108.5 kB / 1.467 GB, free: 1.566 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.8501, allocations: 113.1 kB / 1.467 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.8502, allocations: 71.94 kB / 1.468 GB, free: 1.387 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006746/0.8509, allocations: 0.5786 MB / 1.468 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8509, allocations: 0 / 1.468 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001173/0.8521, allocations: 0.6039 MB / 1.469 GB, free: 196 kB / 1.186 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.005421/0.8575, allocations: 2.897 MB / 1.472 GB, free: 13.45 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.8604, allocations: 1.852 MB / 1.473 GB, free: 11.53 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8604, allocations: 0.5625 kB / 1.473 GB, free: 11.52 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.8622, allocations: 1.301 MB / 1.475 GB, free: 10.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.8641, allocations: 0.5268 MB / 1.475 GB, free: 9.652 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.8794, allocations: 9.967 MB / 1.485 GB, free: 15.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.8802, allocations: 1.296 MB / 1.486 GB, free: 14.19 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001228/0.8815, allocations: 438.4 kB / 1.487 GB, free: 13.76 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.8824, allocations: 0.6515 MB / 1.487 GB, free: 13.11 MB / 1.217 GB Notification: Performance of SimCode: time 3.61e-07/0.8824, allocations: 0 / 1.487 GB, free: 13.11 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.14/4.022, allocations: 37.59 MB / 1.524 GB, free: 7.961 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.66/31.68, allocations: 0 / 1.524 GB, free: 7.961 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)