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.001101/0.001105, allocations: 114.8 kB / 16.37 MB, free: 6.004 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.00122/0.00122, allocations: 196 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4382, allocations: 80.18 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00462/0.4428, allocations: 4.18 MB / 0.5856 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1542/0.5971, allocations: 150.6 MB / 0.7327 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.5984, allocations: 15.94 kB / 0.7327 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.5991, allocations: 174.4 kB / 0.7329 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.6013, allocations: 484.6 kB / 0.7333 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.6036, allocations: 0.8039 MB / 0.7341 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.605, allocations: 1.215 MB / 0.7353 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.6059, allocations: 0.6234 MB / 0.7359 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.6065, allocations: 442.4 kB / 0.7363 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.607, allocations: 469.8 kB / 0.7368 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.6071, allocations: 104 kB / 0.7369 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.6081, allocations: 475.6 kB / 0.7373 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.6084, allocations: 275.1 kB / 0.7376 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.6088, allocations: 0.5012 MB / 0.7381 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.6104, allocations: 1.507 MB / 0.7396 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6105, allocations: 0 / 0.7396 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6105, allocations: 0 / 0.7396 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.6105, allocations: 4 kB / 0.7396 GB, free: 11.98 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002193/0.6127, allocations: 1.334 MB / 0.7409 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6127, allocations: 12.03 kB / 0.7409 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.6136, allocations: 179.4 kB / 0.741 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6148, allocations: 0.7306 MB / 0.7418 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.6148, allocations: 62 kB / 0.7418 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.6149, allocations: 80 kB / 0.7419 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6163, allocations: 0.8833 MB / 0.7428 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6164, allocations: 4 kB / 0.7428 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.6164, allocations: 32 kB / 0.7428 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.6165, allocations: 20 kB / 0.7428 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.6181, allocations: 1.1 MB / 0.7439 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.6219, allocations: 2.474 MB / 0.7463 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.6232, allocations: 0.7336 MB / 0.747 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.6237, allocations: 290.7 kB / 0.7473 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.6237, allocations: 32.61 kB / 0.7473 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.6245, allocations: 447.2 kB / 0.7478 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.245e-06/0.6245, allocations: 0 / 0.7478 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002987/0.6275, allocations: 1.116 MB / 0.7488 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6276, allocations: 192.6 kB / 0.749 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.6284, allocations: 0.5979 MB / 0.7496 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.6285, allocations: 41.7 kB / 0.7496 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6288, allocations: 376.3 kB / 0.75 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.629, allocations: 256.2 kB / 0.7503 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6292, allocations: 154.5 kB / 0.7504 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6294, allocations: 394.7 kB / 0.7508 GB, free: 152 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3166/0.946, allocations: 242 kB / 0.751 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.947, allocations: 342.4 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9482, allocations: 0.5858 MB / 0.7519 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.9482, allocations: 0.9688 kB / 0.7519 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00225/0.9505, allocations: 0.8218 MB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.9505, allocations: 4.812 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.9505, allocations: 1.5 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.9512, allocations: 84.28 kB / 0.7528 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.9519, allocations: 157.5 kB / 0.7529 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.9538, allocations: 1.625 MB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/0.9546, allocations: 80.66 kB / 0.7546 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.9547, allocations: 39.72 kB / 0.7546 GB, free: 165.4 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.000457/0.9551, allocations: 262.2 kB / 0.7549 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.9553, allocations: 78.61 kB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.9578, allocations: 1.019 MB / 0.756 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.9578, allocations: 12.75 kB / 0.756 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9578, allocations: 4.75 kB / 0.756 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.9578, allocations: 5.312 kB / 0.756 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.9613, allocations: 1.878 MB / 0.7578 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9613, allocations: 0.5 kB / 0.7578 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.962, allocations: 150.6 kB / 0.758 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.9625, allocations: 76.55 kB / 0.758 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.9625, allocations: 22.55 kB / 0.7581 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.9643, allocations: 1.652 MB / 0.7597 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9643, allocations: 1.844 kB / 0.7597 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.9665, allocations: 0.9378 MB / 0.7606 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.9669, allocations: 256.6 kB / 0.7608 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.967, allocations: 28.25 kB / 0.7609 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.9675, allocations: 54.12 kB / 0.7609 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.9677, allocations: 58.7 kB / 0.761 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.9678, allocations: 28.2 kB / 0.761 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005105/0.9683, allocations: 445.7 kB / 0.7614 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9683, allocations: 0.5625 kB / 0.7614 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008774/0.9692, allocations: 293.6 kB / 0.7617 GB, free: 161.3 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 (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.0013/0.9705, allocations: 0.6028 MB / 0.7623 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.9722, allocations: 0.7859 MB / 0.7631 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9722, allocations: 1.406 kB / 0.7631 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.9731, allocations: 0.5022 MB / 0.7636 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.9743, allocations: 290.2 kB / 0.7638 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.978, allocations: 1.663 MB / 0.7655 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.9785, allocations: 1.012 MB / 0.7664 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007428/0.9792, allocations: 258.4 kB / 0.7667 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.9795, allocations: 96.2 kB / 0.7668 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.9795, allocations: 0 / 0.7668 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.01873/0.9982, allocations: 14.13 MB / 0.7806 GB, free: 145.1 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)