Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 115.3 kB / 17.09 MB, free: 5.984 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.001282/0.001282, allocations: 200.2 kB / 18.03 MB, free: 5.055 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8015/0.8015, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 62.31 kB / 0.5737 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1394, allocations: 78.7 MB / 0.6506 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.4201/0.5596, allocations: 108.7 MB / 0.7568 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2014/0.7609, allocations: 184.9 MB / 0.9373 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006682/0.7677, allocations: 163.1 kB / 0.9375 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.009863/0.7776, allocations: 3.278 MB / 0.9407 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.794, allocations: 5.684 MB / 0.9462 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.8068, allocations: 4.877 MB / 0.951 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.04042/0.8472, allocations: 32.96 MB / 0.9832 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02164/0.8689, allocations: 14.93 MB / 0.9978 GB, free: 484 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02344/0.8924, allocations: 10.73 MB / 1.008 GB, free: 5.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01657/0.909, allocations: 9.214 MB / 1.017 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00536/0.9144, allocations: 1.602 MB / 1.019 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.9285, allocations: 4.764 MB / 1.023 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00682/0.9353, allocations: 3.938 MB / 1.027 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.01483/0.9502, allocations: 7.694 MB / 1.035 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03466/0.9849, allocations: 22.89 MB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9849, allocations: 4 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9849, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0006629/0.9856, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2332 * Number of variables: 2332 Notification: Performance of Generate backend data structure: time 0.5721/1.558, allocations: 14.9 MB / 1.072 GB, free: 308.4 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.558, allocations: 13.8 kB / 1.072 GB, free: 308.4 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/1.578, allocations: 3.117 MB / 1.075 GB, free: 307.6 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02605/1.604, allocations: 11.79 MB / 1.086 GB, free: 301.1 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/1.605, allocations: 0.6783 MB / 1.087 GB, free: 300.8 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.609, allocations: 0.9147 MB / 1.088 GB, free: 300.5 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/1.641, allocations: 13.4 MB / 1.101 GB, free: 292.5 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004773/1.641, allocations: 23.61 kB / 1.101 GB, free: 292.4 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002807/1.644, allocations: 382.2 kB / 1.101 GB, free: 292.2 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/1.644, allocations: 380.8 kB / 1.102 GB, free: 292.1 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/1.672, allocations: 12.77 MB / 1.114 GB, free: 279.6 MB / 0.8107 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.07433/1.746, allocations: 52.73 MB / 1.166 GB, free: 224.9 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/1.763, allocations: 9.353 MB / 1.175 GB, free: 215.6 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008178/1.771, allocations: 4.86 MB / 1.18 GB, free: 210.7 MB / 0.8107 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 evalFunc (simulation): time 0.03349/1.805, allocations: 20.4 MB / 1.199 GB, free: 189.8 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008592/1.813, allocations: 4.571 MB / 1.204 GB, free: 185.2 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00389/1.817, allocations: 0.5541 MB / 1.204 GB, free: 184.6 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=597): time 1.324e-05/1.817, allocations: 0 / 1.204 GB, free: 184.6 MB / 0.8107 GB Notification: Performance of matching and sorting (n=597): time 0.02422/1.841, allocations: 11.71 MB / 1.216 GB, free: 172.8 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/1.842, allocations: 292 kB / 1.216 GB, free: 172.5 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/1.856, allocations: 9.077 MB / 1.225 GB, free: 163.4 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.0015/1.858, allocations: 157.7 kB / 1.225 GB, free: 163.3 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004287/1.862, allocations: 5.054 MB / 1.23 GB, free: 158.2 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002498/1.864, allocations: 2.135 MB / 1.232 GB, free: 156.1 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004432/1.869, allocations: 1.588 MB / 1.234 GB, free: 154.5 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/1.869, allocations: 301.1 kB / 1.234 GB, free: 154.2 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008084/1.877, allocations: 4.432 MB / 1.238 GB, free: 149.8 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009162/1.886, allocations: 6.218 MB / 1.244 GB, free: 142.9 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/1.904, allocations: 10.51 MB / 1.255 GB, free: 131.6 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/1.904, allocations: 16 kB / 1.255 GB, free: 131.6 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1010) (initialization): time 0.02385/1.928, allocations: 11.98 MB / 1.266 GB, free: 119.6 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/1.928, allocations: 65.69 kB / 1.266 GB, free: 119.5 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/1.928, allocations: 48 kB / 1.267 GB, free: 119.5 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-05/1.928, allocations: 87.94 kB / 1.267 GB, free: 119.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008421/1.937, allocations: 1.927 MB / 1.268 GB, free: 117.5 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/1.937, allocations: 115.7 kB / 1.269 GB, free: 117.3 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009057/1.946, allocations: 0.5929 MB / 1.269 GB, free: 116.7 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/1.947, allocations: 367.8 kB / 1.27 GB, free: 116.4 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01254/1.96, allocations: 7.584 MB / 1.277 GB, free: 108.8 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009079/1.969, allocations: 6.201 MB / 1.283 GB, free: 101.9 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01655/1.985, allocations: 10.47 MB / 1.293 GB, free: 90.72 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.725e-05/1.985, allocations: 21.95 kB / 1.293 GB, free: 90.7 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1010) (initialization_lambda0): time 0.02379/2.009, allocations: 11.97 MB / 1.305 GB, free: 78.66 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/2.009, allocations: 61.69 kB / 1.305 GB, free: 78.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/2.009, allocations: 48 kB / 1.305 GB, free: 78.55 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/2.009, allocations: 84 kB / 1.305 GB, free: 78.47 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009382/2.019, allocations: 1.927 MB / 1.307 GB, free: 76.54 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001885/2.019, allocations: 115.6 kB / 1.307 GB, free: 76.43 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/2.029, allocations: 0.5933 MB / 1.308 GB, free: 75.83 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.03, allocations: 355.8 kB / 1.308 GB, free: 75.48 MB / 0.8107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 31 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,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,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (968): * Single equations (assignments): 965 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002423/2.033, allocations: 0.6425 MB / 1.309 GB, free: 74.83 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003048/2.036, allocations: 0.9315 MB / 1.31 GB, free: 73.89 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/2.056, allocations: 9.751 MB / 1.319 GB, free: 64.07 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0142/2.07, allocations: 7.776 MB / 1.327 GB, free: 56.18 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/2.07, allocations: 4 kB / 1.327 GB, free: 56.17 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005226/2.075, allocations: 2.119 MB / 1.329 GB, free: 54.03 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00308/2.078, allocations: 139.9 kB / 1.329 GB, free: 53.89 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008058/2.086, allocations: 0.4989 MB / 1.329 GB, free: 53.39 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008297/2.087, allocations: 380.4 kB / 1.33 GB, free: 53.02 MB / 0.8107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02073/2.108, allocations: 9.141 MB / 1.339 GB, free: 43.82 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02642/2.134, allocations: 14.64 MB / 1.353 GB, free: 29.05 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00763/2.142, allocations: 4.267 MB / 1.357 GB, free: 24.75 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.01014/2.152, allocations: 6.285 MB / 1.363 GB, free: 18.51 MB / 0.8107 GB Notification: Performance of Backend: time 1.152e-06/2.152, allocations: 0 / 1.363 GB, free: 18.51 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03473/2.187, allocations: 14.25 MB / 1.377 GB, free: 4.496 MB / 0.8107 GB Notification: Performance of SimCode: time 0.3268/2.514, allocations: 24.25 MB / 1.401 GB, free: 281.5 MB / 0.8107 GB Notification: Performance of Templates: time 0.2908/2.805, allocations: 240.4 MB / 1.636 GB, free: 65.78 MB / 0.8107 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)