Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(IBPSA.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 118.4 kB / 17.09 MB, free: 6.008 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.001174/0.001174, allocations: 189.6 kB / 18.03 MB, free: 5.086 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7904/0.7904, allocations: 126.1 MB / 417.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 59.88 kB / 0.5737 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1302, allocations: 78.7 MB / 0.6506 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Examples.FlatPlate): time 0.06774/0.198, allocations: 57.39 MB / 0.7066 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4719/0.6699, allocations: 160.2 MB / 0.863 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.6725, allocations: 57.41 kB / 0.8631 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.6755, allocations: 0.829 MB / 0.8639 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008332/0.6838, allocations: 3.182 MB / 0.867 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006519/0.6904, allocations: 2.715 MB / 0.8697 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01647/0.7069, allocations: 14.04 MB / 0.8834 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00972/0.7166, allocations: 6.846 MB / 0.8901 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.7311, allocations: 7.781 MB / 0.8977 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006535/0.7377, allocations: 4.112 MB / 0.9017 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.7395, allocations: 0.7109 MB / 0.9024 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/0.7488, allocations: 4.487 MB / 0.9068 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.7512, allocations: 1.749 MB / 0.9085 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005669/0.7569, allocations: 3.442 MB / 0.9118 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.7715, allocations: 10.72 MB / 0.9223 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7716, allocations: 0 / 0.9223 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7716, allocations: 8 kB / 0.9223 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002269/0.7718, allocations: 0 / 0.9223 GB, free: 13.13 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01579/0.7876, allocations: 7.017 MB / 0.9291 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7877, allocations: 8.031 kB / 0.9292 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.8004, allocations: 1.822 MB / 0.9309 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.8118, allocations: 5.283 MB / 0.9361 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.8122, allocations: 316.2 kB / 0.9364 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.8133, allocations: 412 kB / 0.9368 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.8265, allocations: 6.209 MB / 0.9429 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.489e-05/0.8266, allocations: 3.938 kB / 0.9429 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005551/0.8271, allocations: 176 kB / 0.943 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.8273, allocations: 168.1 kB / 0.9432 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.841, allocations: 6.058 MB / 0.9491 GB, free: 1.277 MB / 0.7012 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.03918/0.8802, allocations: 22.59 MB / 0.9712 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.8907, allocations: 4.597 MB / 0.9756 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00453/0.8952, allocations: 2.171 MB / 0.9778 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/0.8974, allocations: 2.023 MB / 0.9797 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005543/0.903, allocations: 2.503 MB / 0.9822 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=318): time 5.901e-06/0.903, allocations: 0 / 0.9822 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=318): time 0.01951/0.9225, allocations: 7.682 MB / 0.9897 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.9227, allocations: 244.1 kB / 0.9899 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/0.9303, allocations: 4.102 MB / 0.9939 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004932/0.9308, allocations: 85.7 kB / 0.994 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.9331, allocations: 2.159 MB / 0.9961 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.9346, allocations: 1.115 MB / 0.9972 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.9361, allocations: 0.6951 MB / 0.9979 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9362, allocations: 301.1 kB / 0.9982 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/0.9407, allocations: 2.028 MB / 1 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/0.9458, allocations: 2.671 MB / 1.003 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009375/0.9551, allocations: 4.677 MB / 1.007 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9552, allocations: 4 kB / 1.007 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.01224/0.9674, allocations: 5.481 MB / 1.013 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.9675, allocations: 49.69 kB / 1.013 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.9675, allocations: 16 kB / 1.013 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.9682, allocations: 108.8 kB / 1.013 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/0.9724, allocations: 0.8541 MB / 1.014 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.9752, allocations: 2.289 MB / 1.016 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/0.9798, allocations: 0.4963 MB / 1.016 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/0.9803, allocations: 179.7 kB / 1.017 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006808/0.9871, allocations: 3.434 MB / 1.02 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005053/0.9921, allocations: 2.663 MB / 1.023 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009363/1.002, allocations: 4.677 MB / 1.027 GB, free: 14.56 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.309e-05/1.002, allocations: 4 kB / 1.027 GB, free: 14.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=438) (initialization_lambda0): time 0.01245/1.014, allocations: 5.469 MB / 1.032 GB, free: 9.043 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/1.014, allocations: 54.69 kB / 1.032 GB, free: 8.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.014, allocations: 16 kB / 1.033 GB, free: 8.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/1.015, allocations: 104.8 kB / 1.033 GB, free: 8.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/1.019, allocations: 0.8463 MB / 1.033 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/1.021, allocations: 1.677 MB / 1.035 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/1.026, allocations: 433.9 kB / 1.035 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/1.026, allocations: 179.8 kB / 1.036 GB, free: 5.59 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 424 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009842/1.027, allocations: 390 kB / 1.036 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/1.029, allocations: 453.1 kB / 1.036 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.043, allocations: 5.743 MB / 1.042 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01113/1.055, allocations: 4.628 MB / 1.047 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.055, allocations: 0 / 1.047 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/1.057, allocations: 1.149 MB / 1.048 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.058, allocations: 79.81 kB / 1.048 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/1.062, allocations: 239.7 kB / 1.048 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/1.063, allocations: 250.3 kB / 1.048 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01408/1.077, allocations: 5.279 MB / 1.053 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2951/1.372, allocations: 7.353 MB / 1.061 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004592/1.377, allocations: 2.174 MB / 1.063 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005171/1.382, allocations: 2.887 MB / 1.066 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of Backend: time 5.71e-07/1.382, allocations: 0 / 1.066 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01826/1.4, allocations: 7.531 MB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0195/1.42, allocations: 11.52 MB / 1.084 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.1497/1.569, allocations: 122.3 MB / 1.204 GB, free: 190.5 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)