Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001853/0.001853, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.72 kB / 0.5013 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4506, allocations: 80.19 MB / 0.5796 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004905/0.4556, allocations: 4.205 MB / 0.5837 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1828/0.6384, allocations: 148.4 MB / 0.7286 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.6398, allocations: 11.94 kB / 0.7286 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.6407, allocations: 131 kB / 0.7288 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.6433, allocations: 440.5 kB / 0.7292 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.6461, allocations: 0.7109 MB / 0.7299 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.648, allocations: 1.207 MB / 0.7311 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009224/0.6489, allocations: 0.6217 MB / 0.7317 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.6496, allocations: 446.3 kB / 0.7321 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.6501, allocations: 465.9 kB / 0.7325 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.6503, allocations: 104 kB / 0.7326 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009707/0.6513, allocations: 451.6 kB / 0.7331 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.6515, allocations: 275.1 kB / 0.7333 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.652, allocations: 0.509 MB / 0.7338 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.6538, allocations: 1.46 MB / 0.7353 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.6538, allocations: 8 kB / 0.7353 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6539, allocations: 0 / 0.7353 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.6539, allocations: 0 / 0.7353 GB, free: 1.773 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002507/0.6564, allocations: 1.342 MB / 0.7366 GB, free: 384 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6565, allocations: 8.031 kB / 0.7366 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/0.6574, allocations: 179.5 kB / 0.7368 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.6585, allocations: 0.7149 MB / 0.7375 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.6586, allocations: 58 kB / 0.7375 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6587, allocations: 80 kB / 0.7376 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6602, allocations: 0.891 MB / 0.7385 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6602, allocations: 0 / 0.7385 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.6603, allocations: 32 kB / 0.7385 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.6603, allocations: 20 kB / 0.7385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.662, allocations: 1.097 MB / 0.7396 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/0.6666, allocations: 2.506 MB / 0.742 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.668, allocations: 0.7374 MB / 0.7427 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.6686, allocations: 290.7 kB / 0.743 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.6687, allocations: 32.61 kB / 0.743 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008789/0.6695, allocations: 443.2 kB / 0.7435 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.6696, allocations: 0 / 0.7435 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003048/0.6726, allocations: 1.12 MB / 0.7446 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6727, allocations: 192.6 kB / 0.7447 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.6735, allocations: 0.5979 MB / 0.7453 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.6736, allocations: 41.7 kB / 0.7454 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.6739, allocations: 380.2 kB / 0.7457 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.6741, allocations: 252.3 kB / 0.746 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.6743, allocations: 158.5 kB / 0.7461 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6745, allocations: 382.7 kB / 0.7465 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.675, allocations: 249.9 kB / 0.7467 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.6755, allocations: 347.2 kB / 0.7471 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6766, allocations: 0.5916 MB / 0.7476 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6766, allocations: 0 / 0.7476 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001913/0.6785, allocations: 0.8136 MB / 0.7484 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6786, allocations: 8 kB / 0.7484 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6786, allocations: 0 / 0.7484 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.6792, allocations: 84.83 kB / 0.7485 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.6799, allocations: 155.8 kB / 0.7487 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.6822, allocations: 1.638 MB / 0.7503 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.6829, allocations: 75.34 kB / 0.7503 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.683, allocations: 40.03 kB / 0.7504 GB, free: 1.766 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 (89): * Single equations (assignments): 88 * 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.0004626/0.6835, allocations: 255.2 kB / 0.7506 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6836, allocations: 79.05 kB / 0.7507 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.686, allocations: 1.022 MB / 0.7517 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.686, allocations: 12 kB / 0.7517 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.686, allocations: 3.938 kB / 0.7517 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.6861, allocations: 11.92 kB / 0.7517 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.6893, allocations: 1.884 MB / 0.7536 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6893, allocations: 3.984 kB / 0.7536 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.6899, allocations: 143.8 kB / 0.7537 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.6904, allocations: 76.78 kB / 0.7538 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.6904, allocations: 23.98 kB / 0.7538 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.6924, allocations: 1.646 MB / 0.7554 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6925, allocations: 3.938 kB / 0.7554 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6944, allocations: 0.9258 MB / 0.7563 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.6949, allocations: 255.8 kB / 0.7566 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.695, allocations: 19.91 kB / 0.7566 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.6957, allocations: 62.75 kB / 0.7566 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6958, allocations: 64.84 kB / 0.7567 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.6959, allocations: 31.98 kB / 0.7567 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006209/0.6965, allocations: 439 kB / 0.7571 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6965, allocations: 0 / 0.7571 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008917/0.6974, allocations: 299.3 kB / 0.7574 GB, free: 10.27 MB / 0.5919 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 (87): * Single equations (assignments): 84 * 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.001466/0.6989, allocations: 0.5999 MB / 0.758 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.7013, allocations: 0.9756 MB / 0.759 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7013, allocations: 3.984 kB / 0.759 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.7022, allocations: 0.4964 MB / 0.7595 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.7036, allocations: 289.8 kB / 0.7597 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.7078, allocations: 2.081 MB / 0.7618 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.7085, allocations: 1.012 MB / 0.7628 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009152/0.7094, allocations: 257.9 kB / 0.763 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.7097, allocations: 103.4 kB / 0.7631 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.7097, allocations: 0 / 0.7631 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.02557/0.7353, allocations: 14.06 MB / 0.7768 GB, free: 6.758 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)