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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.175/2.175, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 199.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 110.1 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 50.5 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2092, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1317/0.341, allocations: 164.5 MB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3607, allocations: 16.88 MB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3619, allocations: 27.81 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.3634, allocations: 433.3 kB / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.367, allocations: 1.333 MB / 1.397 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.37, allocations: 1.127 MB / 1.398 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.3728, allocations: 2.537 MB / 1.401 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.3751, allocations: 1.766 MB / 1.402 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/0.3806, allocations: 1.132 MB / 1.403 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.3819, allocations: 0.8827 MB / 1.404 GB, free: 5.922 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.3823, allocations: 108 kB / 1.404 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.3852, allocations: 1.458 MB / 1.406 GB, free: 4.355 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.3858, allocations: 458.2 kB / 1.406 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.3869, allocations: 0.8586 MB / 1.407 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.3908, allocations: 2.843 MB / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3908, allocations: 0 / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3908, allocations: 0 / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.591e-05/0.3909, allocations: 0 / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003917/0.3948, allocations: 2.143 MB / 1.412 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3949, allocations: 11.98 kB / 1.412 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.3982, allocations: 0.505 MB / 1.412 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3998, allocations: 1.043 MB / 1.413 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/0.3999, allocations: 131.2 kB / 1.414 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.4001, allocations: 160 kB / 1.414 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.403, allocations: 1.779 MB / 1.415 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.4031, allocations: 3.938 kB / 1.415 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4032, allocations: 72 kB / 1.416 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.4033, allocations: 40 kB / 1.416 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.4063, allocations: 1.823 MB / 1.417 GB, free: 8.324 MB / 0.9167 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.007011/0.4133, allocations: 5.035 MB / 1.422 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.4161, allocations: 1.655 MB / 1.424 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.4172, allocations: 0.6212 MB / 1.424 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4435/0.8607, allocations: 0.8006 MB / 1.425 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.8626, allocations: 0.82 MB / 1.426 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=137): time 3.546e-06/0.8626, allocations: 0 / 1.426 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=137): time 0.005847/0.8685, allocations: 2.431 MB / 1.428 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.8686, allocations: 199.8 kB / 1.429 GB, free: 203.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.8697, allocations: 0.7939 MB / 1.429 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.8698, allocations: 55.33 kB / 1.429 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.8702, allocations: 0.6252 MB / 1.43 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.8706, allocations: 461.8 kB / 1.43 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.871, allocations: 244.5 kB / 1.431 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.8711, allocations: 351.7 kB / 1.431 GB, free: 202.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/0.8721, allocations: 463.3 kB / 1.431 GB, free: 202 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.8732, allocations: 0.6009 MB / 1.432 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.8753, allocations: 1.072 MB / 1.433 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.8753, allocations: 0 / 1.433 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003465/0.8788, allocations: 1.47 MB / 1.435 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8788, allocations: 6.031 kB / 1.435 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8788, allocations: 1.812 kB / 1.435 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/0.8797, allocations: 191 kB / 1.435 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.8814, allocations: 322.9 kB / 1.435 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.8856, allocations: 6.765 MB / 1.442 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.887, allocations: 152.1 kB / 1.442 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.8872, allocations: 55.95 kB / 1.442 GB, free: 193.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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.0008688/0.8881, allocations: 369.3 kB / 1.442 GB, free: 193.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.8885, allocations: 125 kB / 1.442 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.893, allocations: 1.748 MB / 1.444 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.893, allocations: 15.5 kB / 1.444 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.893, allocations: 3.062 kB / 1.444 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.8931, allocations: 8.953 kB / 1.444 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00679/0.8998, allocations: 3.249 MB / 1.447 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8999, allocations: 3.906 kB / 1.447 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.9013, allocations: 307.5 kB / 1.448 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/0.9022, allocations: 196 kB / 1.448 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.9023, allocations: 35.2 kB / 1.448 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.9065, allocations: 6.811 MB / 1.454 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9065, allocations: 0.7031 kB / 1.454 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/0.9123, allocations: 3.019 MB / 1.457 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.9131, allocations: 381.5 kB / 1.458 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.9134, allocations: 32.22 kB / 1.458 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9146, allocations: 117.8 kB / 1.458 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.9149, allocations: 107.3 kB / 1.458 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.9151, allocations: 63.8 kB / 1.458 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008731/0.916, allocations: 0.5501 MB / 1.459 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/0.916, allocations: 0 / 1.459 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001838/0.9178, allocations: 0.5564 MB / 1.459 GB, free: 182.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00174/0.9196, allocations: 0.711 MB / 1.46 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004029/0.9236, allocations: 1.791 MB / 1.462 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.9236, allocations: 2.594 kB / 1.462 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.9259, allocations: 1.257 MB / 1.463 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.9286, allocations: 472.1 kB / 1.463 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.9349, allocations: 4.229 MB / 1.467 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/0.9359, allocations: 1.314 MB / 1.469 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001761/0.9377, allocations: 420.9 kB / 1.469 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.9381, allocations: 145 kB / 1.469 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of SimCode: time 7.82e-07/0.9381, allocations: 0 / 1.469 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.03438/0.9725, allocations: 25.54 MB / 1.494 GB, free: 151.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)