Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008247, allocations: 93.09 kB / 15.7 MB, free: 472 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.000994/0.0009942, allocations: 171.9 kB / 16.58 MB, free: 5.648 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.427/1.427, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00602/0.1866, allocations: 4.119 MB / 0.5633 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5142/0.7009, allocations: 136.8 MB / 0.6969 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.7026, allocations: 15.94 kB / 0.6969 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.7036, allocations: 146.8 kB / 0.6971 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.7058, allocations: 449.7 kB / 0.6975 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.7084, allocations: 0.6276 MB / 0.6981 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.7105, allocations: 1.171 MB / 0.6993 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.7117, allocations: 446 kB / 0.6997 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009311/0.7126, allocations: 330.6 kB / 0.7 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.7134, allocations: 370.1 kB / 0.7004 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.7137, allocations: 24 kB / 0.7004 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.7149, allocations: 339.7 kB / 0.7007 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.7153, allocations: 175.2 kB / 0.7009 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.7156, allocations: 201.1 kB / 0.7011 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.7174, allocations: 1.153 MB / 0.7022 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7174, allocations: 0 / 0.7022 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7174, allocations: 0 / 0.7022 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.337e-05/0.7175, allocations: 0 / 0.7022 GB, free: 4.867 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003158/0.7206, allocations: 1.224 MB / 0.7034 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7207, allocations: 12.03 kB / 0.7034 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7218, allocations: 190.5 kB / 0.7036 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.7231, allocations: 0.7031 MB / 0.7043 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.7232, allocations: 62 kB / 0.7043 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.7233, allocations: 87.94 kB / 0.7044 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.7249, allocations: 0.8989 MB / 0.7053 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.7249, allocations: 0 / 0.7053 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.725, allocations: 36 kB / 0.7053 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.725, allocations: 20 kB / 0.7053 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.7268, allocations: 1.093 MB / 0.7064 GB, free: 424 kB / 0.5137 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.004283/0.7311, allocations: 2.725 MB / 0.7091 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.7326, allocations: 0.8677 MB / 0.7099 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.7332, allocations: 306.7 kB / 0.7102 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.7333, allocations: 36.59 kB / 0.7103 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009694/0.7343, allocations: 487.1 kB / 0.7107 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/0.7343, allocations: 0 / 0.7107 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=79): time 0.00312/0.7374, allocations: 1.191 MB / 0.7119 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.7376, allocations: 188.6 kB / 0.7121 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.7385, allocations: 0.6213 MB / 0.7127 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.7386, allocations: 49.7 kB / 0.7127 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.7389, allocations: 380.4 kB / 0.7131 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7392, allocations: 256.4 kB / 0.7133 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.7392, allocations: 16 kB / 0.7133 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.7394, allocations: 390.7 kB / 0.7137 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.74, allocations: 261.9 kB / 0.714 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.7406, allocations: 359.1 kB / 0.7143 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.7412, allocations: 306.9 kB / 0.7146 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7412, allocations: 0 / 0.7146 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001767/0.743, allocations: 0.841 MB / 0.7154 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.743, allocations: 7.984 kB / 0.7154 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.743, allocations: 0 / 0.7154 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.7436, allocations: 84.88 kB / 0.7155 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.7443, allocations: 171.5 kB / 0.7157 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.7468, allocations: 1.52 MB / 0.7172 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.7476, allocations: 111.7 kB / 0.7173 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.7477, allocations: 31.98 kB / 0.7173 GB, free: 4.863 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005082/0.7482, allocations: 263.4 kB / 0.7175 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7483, allocations: 78.97 kB / 0.7176 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.7509, allocations: 1.074 MB / 0.7187 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.7509, allocations: 8 kB / 0.7187 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.7509, allocations: 0 / 0.7187 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7509, allocations: 3.984 kB / 0.7187 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.7543, allocations: 1.911 MB / 0.7205 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7543, allocations: 0 / 0.7205 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.7549, allocations: 147.8 kB / 0.7207 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.7554, allocations: 84.77 kB / 0.7208 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.7554, allocations: 31.92 kB / 0.7208 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.7572, allocations: 1.544 MB / 0.7223 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7572, allocations: 3.984 kB / 0.7223 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.7592, allocations: 0.9805 MB / 0.7233 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.7596, allocations: 291.6 kB / 0.7235 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7597, allocations: 20 kB / 0.7236 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.7603, allocations: 83.92 kB / 0.7236 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.7605, allocations: 64.91 kB / 0.7237 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.7606, allocations: 35.97 kB / 0.7237 GB, free: 13.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006473/0.7613, allocations: 443 kB / 0.7242 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7613, allocations: 0 / 0.7242 GB, free: 13.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009748/0.7623, allocations: 323.2 kB / 0.7245 GB, free: 13.25 MB / 0.545 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.7637, allocations: 0.5953 MB / 0.725 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.7653, allocations: 0.8241 MB / 0.7259 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7653, allocations: 0 / 0.7259 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008587/0.7662, allocations: 0.5081 MB / 0.7263 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7674, allocations: 258.4 kB / 0.7266 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.771, allocations: 1.994 MB / 0.7285 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7717, allocations: 1.016 MB / 0.7295 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008826/0.7726, allocations: 262.5 kB / 0.7298 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.7729, allocations: 103.4 kB / 0.7299 GB, free: 7.809 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7729, allocations: 4 kB / 0.7299 GB, free: 7.805 MB / 0.545 GB Notification: Performance of Templates: time 0.02607/0.799, allocations: 13.79 MB / 0.7434 GB, free: 10.2 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)