Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001031/0.001032, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001/0.001, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7189/0.7189, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.88 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2917, allocations: 80.91 MB / 0.5858 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004655/0.2964, allocations: 4.05 MB / 0.5897 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1358/0.4322, allocations: 150.4 MB / 0.7366 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.4328, allocations: 19.88 kB / 0.7366 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.4333, allocations: 162.5 kB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.4345, allocations: 463.4 kB / 0.7372 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.4361, allocations: 0.786 MB / 0.738 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.437, allocations: 1.16 MB / 0.7391 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007032/0.4377, allocations: 0.5961 MB / 0.7397 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.4381, allocations: 418.5 kB / 0.7401 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.4385, allocations: 430.1 kB / 0.7405 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.4387, allocations: 100 kB / 0.7406 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.4393, allocations: 467.6 kB / 0.7411 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.4395, allocations: 267.1 kB / 0.7413 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.4399, allocations: 0.4896 MB / 0.7418 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.4411, allocations: 1.448 MB / 0.7432 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4412, allocations: 0 / 0.7432 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4412, allocations: 0 / 0.7432 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4412, allocations: 0 / 0.7432 GB, free: 8.758 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001801/0.443, allocations: 1.307 MB / 0.7445 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.443, allocations: 9.109 kB / 0.7445 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/0.4438, allocations: 179.5 kB / 0.7447 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/0.4448, allocations: 0.715 MB / 0.7454 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.4448, allocations: 58 kB / 0.7454 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.4449, allocations: 72 kB / 0.7455 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4461, allocations: 0.8403 MB / 0.7463 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4462, allocations: 0 / 0.7463 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.4462, allocations: 35.98 kB / 0.7464 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4462, allocations: 16 kB / 0.7464 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4477, allocations: 1.05 MB / 0.7474 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.4508, allocations: 2.305 MB / 0.7496 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.4519, allocations: 0.7625 MB / 0.7504 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.4524, allocations: 279.8 kB / 0.7507 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.4524, allocations: 28.53 kB / 0.7507 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.4531, allocations: 413.8 kB / 0.7511 GB, free: 468 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.764e-06/0.4531, allocations: 0 / 0.7511 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.2174/0.6705, allocations: 1.05 MB / 0.7521 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.6706, allocations: 188.7 kB / 0.7523 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.6713, allocations: 0.5848 MB / 0.7529 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.6713, allocations: 38.61 kB / 0.7529 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6715, allocations: 371.5 kB / 0.7532 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6717, allocations: 226.5 kB / 0.7535 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.6718, allocations: 148.2 kB / 0.7536 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.6719, allocations: 380 kB / 0.754 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.6724, allocations: 228.6 kB / 0.7542 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.6728, allocations: 318.9 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.6736, allocations: 0.5386 MB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6737, allocations: 1.406 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001591/0.6752, allocations: 0.7512 MB / 0.7557 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6753, allocations: 7 kB / 0.7558 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6753, allocations: 0.8125 kB / 0.7558 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.6758, allocations: 86.95 kB / 0.7558 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.6764, allocations: 144.6 kB / 0.756 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.678, allocations: 1.625 MB / 0.7576 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.6785, allocations: 72.73 kB / 0.7576 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.6786, allocations: 35.95 kB / 0.7577 GB, free: 162 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0002875/0.6789, allocations: 257.4 kB / 0.7579 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.679, allocations: 79.06 kB / 0.758 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.681, allocations: 0.9476 MB / 0.7589 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6811, allocations: 8.625 kB / 0.7589 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.6811, allocations: 0 / 0.7589 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.6811, allocations: 5.625 kB / 0.7589 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.6839, allocations: 1.794 MB / 0.7607 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6839, allocations: 1.5 kB / 0.7607 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.6844, allocations: 139 kB / 0.7608 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.6848, allocations: 73.38 kB / 0.7609 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.6849, allocations: 27.77 kB / 0.7609 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.6862, allocations: 1.655 MB / 0.7625 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6862, allocations: 6.281 kB / 0.7625 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6878, allocations: 0.8791 MB / 0.7634 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.6881, allocations: 256.5 kB / 0.7636 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.6882, allocations: 11.47 kB / 0.7636 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.6886, allocations: 55.47 kB / 0.7637 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6887, allocations: 61.3 kB / 0.7638 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.6888, allocations: 26.86 kB / 0.7638 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003805/0.6892, allocations: 428.7 kB / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6892, allocations: 0 / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006518/0.6899, allocations: 284.7 kB / 0.7645 GB, free: 157.7 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001126/0.691, allocations: 0.6041 MB / 0.7651 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6921, allocations: 0.7342 MB / 0.7658 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6921, allocations: 0 / 0.7658 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.6928, allocations: 476.1 kB / 0.7662 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.6937, allocations: 289.1 kB / 0.7665 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.6963, allocations: 1.598 MB / 0.7681 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.6966, allocations: 0.9946 MB / 0.769 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005142/0.6971, allocations: 244.5 kB / 0.7693 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.6973, allocations: 93.61 kB / 0.7694 GB, free: 154 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6973, allocations: 4 kB / 0.7694 GB, free: 154 MB / 0.5762 GB Notification: Performance of Templates: time 0.2182/0.9155, allocations: 13.47 MB / 0.7825 GB, free: 140.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)