Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001005/0.001005, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001025/0.001025, allocations: 201.8 kB / 16.26 MB, free: 6.617 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 61.19 kB / 0.5013 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.167, allocations: 80.21 MB / 0.5796 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005521/0.1726, allocations: 4.06 MB / 0.5836 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5542/0.7268, allocations: 148.2 MB / 0.7283 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.7278, allocations: 19.91 kB / 0.7283 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.7286, allocations: 130.3 kB / 0.7284 GB, free: 3.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.7304, allocations: 418.4 kB / 0.7288 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.7326, allocations: 0.7009 MB / 0.7295 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.7342, allocations: 1.15 MB / 0.7307 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.7352, allocations: 0.6102 MB / 0.7312 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/0.736, allocations: 406 kB / 0.7316 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.7367, allocations: 442.5 kB / 0.7321 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.7369, allocations: 99.84 kB / 0.7322 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.7384, allocations: 442.1 kB / 0.7326 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.7388, allocations: 263.2 kB / 0.7328 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.7395, allocations: 493.8 kB / 0.7333 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.7417, allocations: 1.418 MB / 0.7347 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7417, allocations: 0 / 0.7347 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7417, allocations: 4 kB / 0.7347 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.7417, allocations: 0 / 0.7347 GB, free: 15.95 MB / 0.5606 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.00231/0.744, allocations: 1.305 MB / 0.736 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7441, allocations: 11.72 kB / 0.736 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/0.7451, allocations: 177 kB / 0.7361 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.7462, allocations: 0.6915 MB / 0.7368 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.7463, allocations: 56.97 kB / 0.7369 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.7464, allocations: 74.34 kB / 0.7369 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.748, allocations: 0.8452 MB / 0.7378 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.7481, allocations: 0 / 0.7378 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.7482, allocations: 32.59 kB / 0.7378 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.7482, allocations: 23.53 kB / 0.7378 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.7502, allocations: 1.042 MB / 0.7388 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.7543, allocations: 2.336 MB / 0.7411 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7556, allocations: 0.7731 MB / 0.7419 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.7561, allocations: 268.4 kB / 0.7421 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.7562, allocations: 31.97 kB / 0.7422 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.757, allocations: 418 kB / 0.7426 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.843e-06/0.757, allocations: 0 / 0.7426 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002895/0.7599, allocations: 1.049 MB / 0.7436 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7601, allocations: 188.5 kB / 0.7438 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.7608, allocations: 0.5889 MB / 0.7443 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.7608, allocations: 36.48 kB / 0.7444 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.7611, allocations: 364.7 kB / 0.7447 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.7613, allocations: 240.5 kB / 0.7449 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.7616, allocations: 150.5 kB / 0.7451 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.7618, allocations: 374.8 kB / 0.7454 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.7622, allocations: 229.9 kB / 0.7457 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.7628, allocations: 318.8 kB / 0.746 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/0.7637, allocations: 0.5351 MB / 0.7465 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7637, allocations: 0 / 0.7465 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001711/0.7654, allocations: 0.7471 MB / 0.7472 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.7655, allocations: 8 kB / 0.7472 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7655, allocations: 0 / 0.7472 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7661, allocations: 88.8 kB / 0.7473 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.7667, allocations: 135.8 kB / 0.7474 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.7689, allocations: 1.638 MB / 0.749 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.7696, allocations: 79.33 kB / 0.7491 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.7696, allocations: 27.98 kB / 0.7491 GB, free: 5.039 MB / 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: 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.0003924/0.77, allocations: 253.6 kB / 0.7494 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7702, allocations: 75.06 kB / 0.7495 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.7723, allocations: 0.9543 MB / 0.7504 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.7724, allocations: 9.5 kB / 0.7504 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7724, allocations: 4 kB / 0.7504 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.7724, allocations: 5.109 kB / 0.7504 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.7753, allocations: 1.786 MB / 0.7522 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7753, allocations: 0 / 0.7522 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.7758, allocations: 139.8 kB / 0.7523 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.7762, allocations: 76.81 kB / 0.7524 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.7763, allocations: 27.92 kB / 0.7524 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.7782, allocations: 1.652 MB / 0.754 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7782, allocations: 0 / 0.754 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.78, allocations: 0.8829 MB / 0.7549 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.7803, allocations: 247.8 kB / 0.7551 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7804, allocations: 20 kB / 0.7551 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.781, allocations: 55.89 kB / 0.7552 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7811, allocations: 64.84 kB / 0.7552 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.7812, allocations: 27.98 kB / 0.7553 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005043/0.7817, allocations: 422.8 kB / 0.7557 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7817, allocations: 0 / 0.7557 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008775/0.7826, allocations: 283.3 kB / 0.7559 GB, free: 13.84 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.00137/0.784, allocations: 0.5992 MB / 0.7565 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.786, allocations: 0.9143 MB / 0.7574 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.786, allocations: 4.188 kB / 0.7574 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/0.7868, allocations: 484.7 kB / 0.7579 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.788, allocations: 282.8 kB / 0.7581 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.7918, allocations: 1.986 MB / 0.7601 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.7924, allocations: 0.9913 MB / 0.7611 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.7932, allocations: 246 kB / 0.7613 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.7934, allocations: 95.39 kB / 0.7614 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7934, allocations: 0 / 0.7614 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of Templates: time 0.02232/0.8158, allocations: 13.42 MB / 0.7745 GB, free: 11.2 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)