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.001516/0.001516, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001744/0.001744, allocations: 196 kB / 17.98 MB, free: 5.031 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 72.11 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3269, allocations: 76.15 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00613/0.333, allocations: 4.772 MB / 0.5622 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.4856, allocations: 150.6 MB / 0.7093 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4867, allocations: 19.88 kB / 0.7093 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.4874, allocations: 186.3 kB / 0.7095 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.4896, allocations: 0.5389 MB / 0.71 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4919, allocations: 0.8247 MB / 0.7108 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.4937, allocations: 1.366 MB / 0.7122 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009887/0.4947, allocations: 0.583 MB / 0.7127 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.4955, allocations: 474.4 kB / 0.7132 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.4962, allocations: 493.8 kB / 0.7137 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.4964, allocations: 116 kB / 0.7138 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.4975, allocations: 487.5 kB / 0.7142 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.4978, allocations: 287.1 kB / 0.7145 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.4983, allocations: 0.548 MB / 0.715 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.5002, allocations: 1.608 MB / 0.7166 GB, free: 1.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5002, allocations: 0 / 0.7166 GB, free: 1.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5002, allocations: 0 / 0.7166 GB, free: 1.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.5002, allocations: 4 kB / 0.7166 GB, free: 1.145 MB / 0.545 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.002601/0.5028, allocations: 1.414 MB / 0.718 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5029, allocations: 8.031 kB / 0.718 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.5038, allocations: 183.4 kB / 0.7182 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.505, allocations: 0.75 MB / 0.7189 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.5051, allocations: 66 kB / 0.719 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5052, allocations: 79.94 kB / 0.719 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.5067, allocations: 0.9144 MB / 0.7199 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5067, allocations: 0 / 0.7199 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.5068, allocations: 36 kB / 0.72 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.5068, allocations: 20 kB / 0.72 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.5085, allocations: 1.093 MB / 0.7211 GB, free: 12.46 MB / 0.5606 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.004192/0.5128, allocations: 2.66 MB / 0.7237 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.5143, allocations: 0.86 MB / 0.7245 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.5148, allocations: 302.7 kB / 0.7248 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.5149, allocations: 28.61 kB / 0.7248 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/0.5157, allocations: 487.1 kB / 0.7253 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 4.137e-06/0.5157, allocations: 0 / 0.7253 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003149/0.5189, allocations: 1.186 MB / 0.7264 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.519, allocations: 192.6 kB / 0.7266 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.5198, allocations: 0.6252 MB / 0.7272 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/0.5199, allocations: 41.69 kB / 0.7273 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.5202, allocations: 392.4 kB / 0.7276 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5205, allocations: 248.4 kB / 0.7279 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.5207, allocations: 166.5 kB / 0.728 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5209, allocations: 386.6 kB / 0.7284 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.5214, allocations: 269.9 kB / 0.7287 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.5221, allocations: 355.1 kB / 0.729 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5231, allocations: 0.5994 MB / 0.7296 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5232, allocations: 0 / 0.7296 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001915/0.5251, allocations: 0.8371 MB / 0.7304 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5251, allocations: 8 kB / 0.7304 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5251, allocations: 0 / 0.7304 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.5257, allocations: 84.81 kB / 0.7305 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.5264, allocations: 159.8 kB / 0.7306 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.5285, allocations: 1.63 MB / 0.7322 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.5294, allocations: 91.41 kB / 0.7323 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/0.5295, allocations: 51.97 kB / 0.7324 GB, free: 412 kB / 0.5606 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 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0004239/0.5299, allocations: 267.9 kB / 0.7326 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5301, allocations: 86.97 kB / 0.7327 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.5325, allocations: 1.046 MB / 0.7337 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5326, allocations: 11.98 kB / 0.7337 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5326, allocations: 0 / 0.7337 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5326, allocations: 7.922 kB / 0.7338 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.5359, allocations: 1.897 MB / 0.7356 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5359, allocations: 0 / 0.7356 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.5365, allocations: 151.8 kB / 0.7358 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.5369, allocations: 64.8 kB / 0.7358 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/0.537, allocations: 27.97 kB / 0.7358 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.5389, allocations: 1.654 MB / 0.7375 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.539, allocations: 0 / 0.7375 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.541, allocations: 0.9901 MB / 0.7384 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.5415, allocations: 267.9 kB / 0.7387 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5417, allocations: 23.98 kB / 0.7387 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.5423, allocations: 63.92 kB / 0.7388 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.5425, allocations: 68.89 kB / 0.7388 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.5426, allocations: 31.98 kB / 0.7389 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005528/0.5431, allocations: 455 kB / 0.7393 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5431, allocations: 4 kB / 0.7393 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008629/0.544, allocations: 315.3 kB / 0.7396 GB, free: 8.738 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.5454, allocations: 0.6193 MB / 0.7402 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.5471, allocations: 0.8158 MB / 0.741 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5472, allocations: 0 / 0.741 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.5481, allocations: 0.5118 MB / 0.7415 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.5494, allocations: 303 kB / 0.7418 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.5523, allocations: 1.607 MB / 0.7434 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.5529, allocations: 1.016 MB / 0.7443 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008414/0.5537, allocations: 262.5 kB / 0.7446 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.554, allocations: 107.3 kB / 0.7447 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.554, allocations: 0 / 0.7447 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of Templates: time 0.3005/0.8545, allocations: 14.93 MB / 0.7593 GB, free: 33.41 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)