Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, 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.001168/0.001168, 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8026/0.8026, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.56 kB / 0.5738 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1287, allocations: 78.69 MB / 0.6506 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.0656/0.1943, allocations: 57.64 MB / 0.7069 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4629/0.6572, allocations: 168.8 MB / 0.8718 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.6607, allocations: 95.5 kB / 0.8719 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.6648, allocations: 1.354 MB / 0.8732 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008668/0.6734, allocations: 3.253 MB / 0.8764 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.6808, allocations: 3.054 MB / 0.8794 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.07295/0.7538, allocations: 69.89 MB / 0.9476 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04983/0.8036, allocations: 33.07 MB / 0.9799 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04268/0.8464, allocations: 22.92 MB / 1.002 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03308/0.8795, allocations: 19.77 MB / 1.022 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.009293/0.8888, allocations: 3.031 MB / 1.025 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.9063, allocations: 4.915 MB / 1.029 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.01392/0.9203, allocations: 7.63 MB / 1.037 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.03006/0.9504, allocations: 15.34 MB / 1.052 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.6991/1.65, allocations: 43.65 MB / 1.094 GB, free: 119.1 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.65, allocations: 0 / 1.094 GB, free: 119.1 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.613e-06/1.65, allocations: 0 / 1.094 GB, free: 119.1 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.001363/1.651, allocations: 1.5 kB / 1.094 GB, free: 119.1 MB / 0.8107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4677 * Number of variables: 4677 Notification: Performance of Generate backend data structure: time 0.0817/1.733, allocations: 29.74 MB / 1.123 GB, free: 108.6 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.733, allocations: 8.594 kB / 1.123 GB, free: 108.6 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02698/1.76, allocations: 4.507 MB / 1.128 GB, free: 106.5 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05029/1.81, allocations: 25.62 MB / 1.153 GB, free: 97.97 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009707/1.811, allocations: 1.292 MB / 1.154 GB, free: 97.93 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007649/1.819, allocations: 1.741 MB / 1.156 GB, free: 97.59 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06954/1.888, allocations: 28.73 MB / 1.184 GB, free: 74.12 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006635/1.889, allocations: 69.03 kB / 1.184 GB, free: 74.07 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006805/1.896, allocations: 0.7471 MB / 1.185 GB, free: 73.34 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006459/1.896, allocations: 0.9054 MB / 1.186 GB, free: 72.44 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05407/1.95, allocations: 26.17 MB / 1.211 GB, free: 46.45 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.1778/2.128, allocations: 108.2 MB / 1.317 GB, free: 15.85 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04567/2.174, allocations: 20.11 MB / 1.336 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02278/2.197, allocations: 9.872 MB / 1.346 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00274/2.2, allocations: 1.56 MB / 1.348 GB, free: 112 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02454/2.224, allocations: 9.644 MB / 1.357 GB, free: 6.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1178): time 1.797e-05/2.224, allocations: 4 kB / 1.357 GB, free: 6.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=1178): time 0.06371/2.288, allocations: 24.54 MB / 1.381 GB, free: 13.8 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002605/2.288, allocations: 386.2 kB / 1.381 GB, free: 13.36 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0464/2.335, allocations: 19.94 MB / 1.401 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.003488/2.338, allocations: 267.6 kB / 1.401 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.3364/2.675, allocations: 10.46 MB / 1.411 GB, free: 406.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.007313/2.682, allocations: 4.274 MB / 1.415 GB, free: 406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007406/2.689, allocations: 2.86 MB / 1.418 GB, free: 405.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/2.689, allocations: 307.1 kB / 1.419 GB, free: 405.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01828/2.708, allocations: 8.555 MB / 1.427 GB, free: 405.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01887/2.727, allocations: 12.22 MB / 1.439 GB, free: 401.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03306/2.76, allocations: 21.45 MB / 1.46 GB, free: 391.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/2.76, allocations: 34 kB / 1.46 GB, free: 391.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.05228/2.812, allocations: 23.29 MB / 1.483 GB, free: 382.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/2.812, allocations: 135 kB / 1.483 GB, free: 382.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/2.812, allocations: 106.6 kB / 1.483 GB, free: 382.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/2.813, allocations: 181.5 kB / 1.483 GB, free: 382.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/2.83, allocations: 3.489 MB / 1.486 GB, free: 382.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003282/2.831, allocations: 252.3 kB / 1.487 GB, free: 382.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02231/2.853, allocations: 2.167 MB / 1.489 GB, free: 380.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004042/2.857, allocations: 0.6684 MB / 1.489 GB, free: 380 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03239/2.889, allocations: 15.88 MB / 1.505 GB, free: 367.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02094/2.91, allocations: 12.22 MB / 1.517 GB, free: 355.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03817/2.949, allocations: 21.44 MB / 1.538 GB, free: 333.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.943e-05/2.949, allocations: 29.22 kB / 1.538 GB, free: 333.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1836) (initialization_lambda0): time 0.05331/3.002, allocations: 23.28 MB / 1.561 GB, free: 310 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/3.002, allocations: 127.6 kB / 1.561 GB, free: 309.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/3.002, allocations: 112 kB / 1.561 GB, free: 309.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/3.003, allocations: 176 kB / 1.561 GB, free: 309.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01664/3.019, allocations: 3.498 MB / 1.564 GB, free: 306 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002818/3.019, allocations: 243.2 kB / 1.565 GB, free: 305.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02028/3.04, allocations: 1.749 MB / 1.566 GB, free: 304 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003143/3.043, allocations: 0.6677 MB / 1.567 GB, free: 303.4 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.datRea.nextTimeEvent,$whenCondition3,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solCol1.HDirTil.incAng.decAng.tNext,$PRE.solCol1.HDirTil.incAng.decAng.tNext,solCol1.HDifTilIso.incAng.decAng.tNext,$PRE.solCol1.HDifTilIso.incAng.decAng.tNext,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,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,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1818): * Single equations (assignments): 1816 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.005459/3.048, allocations: 1.073 MB / 1.568 GB, free: 302.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007111/3.056, allocations: 1.953 MB / 1.57 GB, free: 300.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03688/3.092, allocations: 19.61 MB / 1.589 GB, free: 280.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02676/3.119, allocations: 15.72 MB / 1.604 GB, free: 264.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/3.119, allocations: 0 / 1.604 GB, free: 264.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0129/3.132, allocations: 4.648 MB / 1.609 GB, free: 260.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006311/3.138, allocations: 267.8 kB / 1.609 GB, free: 259.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01754/3.156, allocations: 0.9712 MB / 1.61 GB, free: 259 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002639/3.159, allocations: 0.6684 MB / 1.611 GB, free: 258.3 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0394/3.198, allocations: 19.01 MB / 1.629 GB, free: 239.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04704/3.245, allocations: 30.64 MB / 1.659 GB, free: 208.6 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01182/3.257, allocations: 8.792 MB / 1.668 GB, free: 199.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02149/3.279, allocations: 14.09 MB / 1.682 GB, free: 185.8 MB / 0.9669 GB Notification: Performance of Backend: time 4.41e-07/3.279, allocations: 0 / 1.682 GB, free: 185.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.05151/3.33, allocations: 25.73 MB / 1.707 GB, free: 160.6 MB / 0.9669 GB Notification: Performance of SimCode: time 0.1021/3.432, allocations: 53.49 MB / 1.759 GB, free: 107.4 MB / 0.9669 GB Notification: Performance of Templates: time 1.25/4.682, allocations: 0.4979 GB / 2.257 GB, free: 385.7 MB / 0.9669 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)