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.004475/0.004475, allocations: 100.6 kB / 15.73 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.0009968/0.0009969, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7616/0.7616, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.72 kB / 0.5813 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1591, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005801/0.165, allocations: 4.176 MB / 0.6637 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5991/0.7642, allocations: 150.6 MB / 0.8109 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.765, allocations: 15.72 kB / 0.8109 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.7655, allocations: 171.7 kB / 0.811 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.767, allocations: 495.1 kB / 0.8115 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.7687, allocations: 0.7862 MB / 0.8123 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.7697, allocations: 1.216 MB / 0.8135 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008303/0.7706, allocations: 0.6177 MB / 0.8141 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.7711, allocations: 446.2 kB / 0.8145 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.7716, allocations: 460.2 kB / 0.8149 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.7718, allocations: 105.8 kB / 0.815 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.7726, allocations: 480 kB / 0.8155 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.7729, allocations: 271.3 kB / 0.8157 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.7732, allocations: 0.5006 MB / 0.8162 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.7747, allocations: 1.519 MB / 0.8177 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7747, allocations: 0 / 0.8177 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7747, allocations: 2.719 kB / 0.8177 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7748, allocations: 0 / 0.8177 GB, free: 9.93 MB / 0.5919 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.00192/0.7767, allocations: 1.376 MB / 0.8191 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7767, allocations: 11.03 kB / 0.8191 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.7775, allocations: 183.4 kB / 0.8192 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.7786, allocations: 0.7399 MB / 0.82 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.7786, allocations: 65.53 kB / 0.82 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.7787, allocations: 79.62 kB / 0.8201 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.7801, allocations: 0.89 MB / 0.821 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7801, allocations: 3.938 kB / 0.821 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.7802, allocations: 35.88 kB / 0.821 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.7802, allocations: 20.06 kB / 0.821 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.7819, allocations: 1.099 MB / 0.8221 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.7856, allocations: 2.464 MB / 0.8245 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.7868, allocations: 0.7283 MB / 0.8252 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.7872, allocations: 285.8 kB / 0.8255 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.7873, allocations: 35.38 kB / 0.8255 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.7881, allocations: 446.8 kB / 0.826 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.7881, allocations: 0 / 0.826 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002796/0.7909, allocations: 1.123 MB / 0.8271 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.791, allocations: 190 kB / 0.8272 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.7917, allocations: 0.6089 MB / 0.8278 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.7917, allocations: 36.64 kB / 0.8279 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.792, allocations: 385.3 kB / 0.8282 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.7922, allocations: 267.4 kB / 0.8285 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.7924, allocations: 160.1 kB / 0.8286 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7926, allocations: 379.7 kB / 0.829 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.793, allocations: 248.1 kB / 0.8292 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.7936, allocations: 347.2 kB / 0.8296 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.7946, allocations: 0.5905 MB / 0.8301 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7946, allocations: 0 / 0.8301 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001666/0.7962, allocations: 0.8229 MB / 0.831 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7963, allocations: 9.125 kB / 0.831 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7963, allocations: 0 / 0.831 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.7968, allocations: 83.56 kB / 0.831 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.7975, allocations: 157.8 kB / 0.8312 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.7994, allocations: 1.63 MB / 0.8328 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.8, allocations: 82.89 kB / 0.8329 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.8001, allocations: 36.12 kB / 0.8329 GB, free: 15.39 MB / 0.6075 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.0003384/0.8004, allocations: 256.5 kB / 0.8331 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.8005, allocations: 89.42 kB / 0.8332 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.8027, allocations: 1.027 MB / 0.8342 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/0.8027, allocations: 9.375 kB / 0.8342 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8027, allocations: 4 kB / 0.8342 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.8027, allocations: 3.984 kB / 0.8342 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.8056, allocations: 1.883 MB / 0.8361 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8056, allocations: 0 / 0.8361 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.8062, allocations: 148.5 kB / 0.8362 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.8066, allocations: 74.75 kB / 0.8363 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.8066, allocations: 18.83 kB / 0.8363 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.8084, allocations: 1.661 MB / 0.8379 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8084, allocations: 3.938 kB / 0.8379 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.8103, allocations: 0.932 MB / 0.8389 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.8106, allocations: 265.4 kB / 0.8391 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8108, allocations: 21.55 kB / 0.8391 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.8113, allocations: 52.8 kB / 0.8392 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8114, allocations: 62.84 kB / 0.8392 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.8115, allocations: 30.98 kB / 0.8393 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005311/0.812, allocations: 442.8 kB / 0.8397 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.812, allocations: 0 / 0.8397 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008561/0.8129, allocations: 300 kB / 0.84 GB, free: 10.41 MB / 0.6075 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.001326/0.8142, allocations: 0.6127 MB / 0.8406 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8157, allocations: 0.789 MB / 0.8413 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8158, allocations: 4.188 kB / 0.8413 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.8166, allocations: 496.2 kB / 0.8418 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8177, allocations: 280.5 kB / 0.8421 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.8212, allocations: 1.71 MB / 0.8438 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.8218, allocations: 1.007 MB / 0.8447 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007072/0.8226, allocations: 262.3 kB / 0.845 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.8228, allocations: 95.39 kB / 0.8451 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.8228, allocations: 0 / 0.8451 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of Templates: time 0.02206/0.8449, allocations: 14.28 MB / 0.859 GB, free: 8.488 MB / 0.6231 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)