Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.000949/0.000949, allocations: 191.2 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7658/0.7658, allocations: 132.2 MB / 423.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3074, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005257/0.3127, allocations: 4.923 MB / 0.5863 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.146/0.4586, allocations: 150.9 MB / 0.7337 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009798/0.4597, allocations: 27.81 kB / 0.7337 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.4604, allocations: 186.1 kB / 0.7339 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.4625, allocations: 0.5857 MB / 0.7344 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4645, allocations: 0.8945 MB / 0.7353 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.4662, allocations: 1.585 MB / 0.7369 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.4675, allocations: 1.069 MB / 0.7379 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/0.4682, allocations: 0.6772 MB / 0.7386 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.4689, allocations: 0.7389 MB / 0.7393 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.4691, allocations: 176 kB / 0.7395 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.47, allocations: 0.5347 MB / 0.74 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.4703, allocations: 414.6 kB / 0.7404 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.4709, allocations: 0.7888 MB / 0.7411 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.4727, allocations: 2.173 MB / 0.7433 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4728, allocations: 0 / 0.7433 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.592e-06/0.4728, allocations: 3.938 kB / 0.7433 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.4728, allocations: 0 / 0.7433 GB, free: 7.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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002676/0.4755, allocations: 1.779 MB / 0.745 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4755, allocations: 9.109 kB / 0.745 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/0.4764, allocations: 238.8 kB / 0.7452 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4776, allocations: 0.907 MB / 0.7461 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.4777, allocations: 102.9 kB / 0.7462 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.4779, allocations: 136 kB / 0.7464 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.48, allocations: 1.424 MB / 0.7477 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.48, allocations: 4 kB / 0.7477 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.4801, allocations: 60 kB / 0.7478 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.4802, allocations: 43.94 kB / 0.7478 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.4825, allocations: 1.509 MB / 0.7493 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2749/0.7574, allocations: 3.713 MB / 0.7529 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.7593, allocations: 0.9614 MB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.7601, allocations: 396.8 kB / 0.7543 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.7602, allocations: 47.5 kB / 0.7543 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.7612, allocations: 0.5826 MB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/0.7612, allocations: 1 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003777/0.765, allocations: 1.474 MB / 0.7563 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.7651, allocations: 196.2 kB / 0.7565 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7663, allocations: 0.7602 MB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.7663, allocations: 50.73 kB / 0.7573 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.7667, allocations: 0.5532 MB / 0.7578 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7669, allocations: 350.2 kB / 0.7582 GB, free: 163 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.7673, allocations: 216.4 kB / 0.7584 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.7674, allocations: 349.3 kB / 0.7587 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/0.7681, allocations: 359.5 kB / 0.7591 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.7689, allocations: 474.5 kB / 0.7595 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.7703, allocations: 0.8342 MB / 0.7603 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7703, allocations: 0 / 0.7603 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002173/0.7725, allocations: 1.108 MB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7725, allocations: 6.281 kB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7725, allocations: 5.312 kB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.7731, allocations: 91.36 kB / 0.7615 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.774, allocations: 218.8 kB / 0.7617 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.7758, allocations: 1.644 MB / 0.7633 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.7766, allocations: 112.1 kB / 0.7634 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.7767, allocations: 45.62 kB / 0.7635 GB, free: 159.3 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 (125): * Single equations (assignments): 124 * 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.0004265/0.7771, allocations: 315.6 kB / 0.7638 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.7773, allocations: 100 kB / 0.7639 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.7801, allocations: 1.388 MB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7801, allocations: 11.34 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7801, allocations: 3.938 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7801, allocations: 8.406 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.7835, allocations: 2.555 MB / 0.7677 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7835, allocations: 0 / 0.7677 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/0.7843, allocations: 198.6 kB / 0.7679 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.7847, allocations: 71.02 kB / 0.768 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.7848, allocations: 36.84 kB / 0.768 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.7862, allocations: 1.664 MB / 0.7697 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7862, allocations: 4.125 kB / 0.7697 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.788, allocations: 1.17 MB / 0.7708 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.7883, allocations: 315.4 kB / 0.7711 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.7885, allocations: 29.53 kB / 0.7711 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.7891, allocations: 64.53 kB / 0.7712 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.7893, allocations: 75.45 kB / 0.7713 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.7893, allocations: 43.97 kB / 0.7713 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000525/0.7899, allocations: 0.5693 MB / 0.7719 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7899, allocations: 0 / 0.7719 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007786/0.7907, allocations: 406 kB / 0.7722 GB, free: 152.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 (115): * Single equations (assignments): 112 * 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.001141/0.7918, allocations: 0.6053 MB / 0.7728 GB, free: 152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.7934, allocations: 1.035 MB / 0.7738 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7934, allocations: 4 kB / 0.7739 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.7942, allocations: 0.6119 MB / 0.7745 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7952, allocations: 312.4 kB / 0.7747 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.7987, allocations: 2.32 MB / 0.777 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.7991, allocations: 1.167 MB / 0.7782 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006912/0.7998, allocations: 307.1 kB / 0.7784 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.8001, allocations: 131.4 kB / 0.7786 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.8002, allocations: 0 / 0.7786 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02152/0.8217, allocations: 17.76 MB / 0.7959 GB, free: 128.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)