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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.416/2.416, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.66 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1448/0.3743, allocations: 168.3 MB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3907, allocations: 17.06 MB / 1.234 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.3914, allocations: 31.81 kB / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.3925, allocations: 0.5506 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.3954, allocations: 1.604 MB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.3977, allocations: 1.32 MB / 1.237 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.3996, allocations: 2.68 MB / 1.24 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.4013, allocations: 1.878 MB / 1.242 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.4039, allocations: 1.347 MB / 1.243 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.4049, allocations: 0.9881 MB / 1.244 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.4051, allocations: 207.9 kB / 1.244 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.4073, allocations: 1.396 MB / 1.246 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.4077, allocations: 0.5491 MB / 1.246 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008122/0.4085, allocations: 1.038 MB / 1.247 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4652/0.8737, allocations: 3.049 MB / 1.25 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8738, allocations: 0 / 1.25 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8738, allocations: 0 / 1.25 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.8738, allocations: 0.9688 kB / 1.25 GB, free: 8.84 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.003281/0.8771, allocations: 2.282 MB / 1.252 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8771, allocations: 13.19 kB / 1.252 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002719/0.8774, allocations: 249.5 kB / 1.253 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.8807, allocations: 0.5112 MB / 1.253 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.882, allocations: 1.086 MB / 1.254 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.8821, allocations: 130.6 kB / 1.254 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.8823, allocations: 167.4 kB / 1.254 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.8849, allocations: 1.841 MB / 1.256 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.8849, allocations: 0.9062 kB / 1.256 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.8851, allocations: 73.86 kB / 1.256 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.8851, allocations: 43.41 kB / 1.256 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.8879, allocations: 1.876 MB / 1.258 GB, free: 7.082 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.006414/0.8944, allocations: 5.569 MB / 1.264 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.8972, allocations: 1.76 MB / 1.265 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.8984, allocations: 0.6472 MB / 1.266 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.8991, allocations: 0.8085 MB / 1.267 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.9008, allocations: 0.8895 MB / 1.268 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.935e-06/0.9008, allocations: 2.281 kB / 1.268 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006264/0.907, allocations: 2.561 MB / 1.27 GB, free: 18.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.9072, allocations: 198.6 kB / 1.27 GB, free: 18.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.9085, allocations: 0.8348 MB / 1.271 GB, free: 18.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.9087, allocations: 58.06 kB / 1.271 GB, free: 18.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.9093, allocations: 0.653 MB / 1.272 GB, free: 18.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.9096, allocations: 482.3 kB / 1.272 GB, free: 17.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/0.9101, allocations: 237.2 kB / 1.273 GB, free: 17.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9103, allocations: 358.6 kB / 1.273 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.9114, allocations: 477.1 kB / 1.273 GB, free: 17.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.9125, allocations: 0.634 MB / 1.274 GB, free: 17.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.9145, allocations: 1.095 MB / 1.275 GB, free: 17.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9145, allocations: 0 / 1.275 GB, free: 17.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003303/0.9178, allocations: 1.503 MB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9179, allocations: 5.906 kB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9179, allocations: 2.266 kB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.9188, allocations: 193.7 kB / 1.277 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.9202, allocations: 332.9 kB / 1.277 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.9254, allocations: 7.272 MB / 1.284 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.9266, allocations: 155.3 kB / 1.284 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.9267, allocations: 48.92 kB / 1.284 GB, free: 10.32 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 (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.0007109/0.9275, allocations: 377.3 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.9277, allocations: 132.4 kB / 1.285 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.9316, allocations: 1.85 MB / 1.287 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.9316, allocations: 15.19 kB / 1.287 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9316, allocations: 2.531 kB / 1.287 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9316, allocations: 10.27 kB / 1.287 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.9369, allocations: 3.446 MB / 1.29 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9369, allocations: 0 / 1.29 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.9383, allocations: 313 kB / 1.29 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007087/0.939, allocations: 185.7 kB / 1.29 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.9392, allocations: 42.39 kB / 1.29 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.9444, allocations: 7.328 MB / 1.298 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9444, allocations: 0 / 1.298 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.9478, allocations: 1.708 MB / 1.299 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.9484, allocations: 407.9 kB / 1.3 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.9486, allocations: 29.91 kB / 1.3 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9498, allocations: 105.2 kB / 1.3 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.95, allocations: 111.6 kB / 1.3 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.9502, allocations: 69.31 kB / 1.3 GB, free: 2.262 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006882/0.9509, allocations: 0.5817 MB / 1.301 GB, free: 2.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9509, allocations: 0 / 1.301 GB, free: 2.152 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001564/0.9524, allocations: 0.5948 MB / 1.301 GB, free: 2.051 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.005366/0.9578, allocations: 2.886 MB / 1.304 GB, free: 1.141 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004645/0.9625, allocations: 2.272 MB / 1.306 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9625, allocations: 3.312 kB / 1.306 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.9643, allocations: 1.306 MB / 1.307 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.9665, allocations: 0.5307 MB / 1.308 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.9837, allocations: 10.52 MB / 1.318 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.9846, allocations: 1.296 MB / 1.32 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001781/0.9864, allocations: 442.5 kB / 1.32 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/0.9872, allocations: 0.6507 MB / 1.321 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.9873, allocations: 0 / 1.321 GB, free: 11.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3484/1.336, allocations: 37.24 MB / 1.357 GB, free: 136 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.59, allocations: 3.812 kB / 1.357 GB, free: 136 kB / 1.029 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)