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.005623/0.005623, allocations: 104.8 kB / 15.74 MB, free: 6.492 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.001605/0.001606, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.81 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2002, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006278/0.2066, allocations: 4.179 MB / 0.6637 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1768/0.3834, allocations: 150.7 MB / 0.8109 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.3846, allocations: 15.94 kB / 0.8109 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.3855, allocations: 174.4 kB / 0.811 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.3874, allocations: 0.4918 MB / 0.8115 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.3896, allocations: 0.7872 MB / 0.8123 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4699/0.8595, allocations: 1.218 MB / 0.8135 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.8607, allocations: 0.6063 MB / 0.8141 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008144/0.8615, allocations: 457.8 kB / 0.8145 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.8622, allocations: 463 kB / 0.815 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.8624, allocations: 104.3 kB / 0.8151 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.8635, allocations: 477.1 kB / 0.8155 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.8638, allocations: 273.9 kB / 0.8158 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.8644, allocations: 0.5027 MB / 0.8163 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.8666, allocations: 1.503 MB / 0.8177 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8666, allocations: 1.719 kB / 0.8177 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8666, allocations: 1 kB / 0.8177 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.8667, allocations: 1.188 kB / 0.8177 GB, free: 3.496 MB / 0.6387 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.002576/0.8692, allocations: 1.336 MB / 0.819 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.8693, allocations: 10.06 kB / 0.819 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.8703, allocations: 185 kB / 0.8192 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.8717, allocations: 0.7251 MB / 0.8199 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.8718, allocations: 66.78 kB / 0.82 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.8719, allocations: 79.53 kB / 0.8201 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.8737, allocations: 0.8878 MB / 0.8209 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.8738, allocations: 1.562 kB / 0.8209 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.8739, allocations: 34.69 kB / 0.821 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.8739, allocations: 21.59 kB / 0.821 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.8758, allocations: 1.098 MB / 0.8221 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.8799, allocations: 2.455 MB / 0.8245 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.8812, allocations: 0.7387 MB / 0.8252 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.8817, allocations: 289.7 kB / 0.8255 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/0.8818, allocations: 33.75 kB / 0.8255 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008137/0.8826, allocations: 443.2 kB / 0.8259 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.877e-06/0.8827, allocations: 0.875 kB / 0.8259 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003086/0.8857, allocations: 1.119 MB / 0.827 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.8858, allocations: 192.6 kB / 0.8272 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.8867, allocations: 0.6046 MB / 0.8278 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.8867, allocations: 38.27 kB / 0.8278 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.8871, allocations: 379.2 kB / 0.8282 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.8873, allocations: 253 kB / 0.8284 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.8876, allocations: 161.7 kB / 0.8286 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00028/0.8879, allocations: 383.4 kB / 0.8289 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.8883, allocations: 249.6 kB / 0.8292 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.8889, allocations: 347 kB / 0.8295 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.8899, allocations: 0.5844 MB / 0.8301 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8899, allocations: 0 / 0.8301 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00187/0.8918, allocations: 0.8176 MB / 0.8309 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8918, allocations: 6.406 kB / 0.8309 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8918, allocations: 4.594 kB / 0.8309 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.8924, allocations: 81.98 kB / 0.831 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.8931, allocations: 156.9 kB / 0.8311 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.8952, allocations: 1.632 MB / 0.8327 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.896, allocations: 80.91 kB / 0.8328 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.8961, allocations: 38.36 kB / 0.8328 GB, free: 14.51 MB / 0.6544 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.0005314/0.8966, allocations: 260.5 kB / 0.8331 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.8968, allocations: 81.31 kB / 0.8331 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.8991, allocations: 1.024 MB / 0.8341 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8991, allocations: 8.5 kB / 0.8342 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8991, allocations: 0 / 0.8342 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.8991, allocations: 4.266 kB / 0.8342 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.9022, allocations: 1.886 MB / 0.836 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.9022, allocations: 0 / 0.836 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.9028, allocations: 151.3 kB / 0.8361 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.9032, allocations: 75.61 kB / 0.8362 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.9033, allocations: 22.42 kB / 0.8362 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.9052, allocations: 1.653 MB / 0.8379 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9052, allocations: 0.8125 kB / 0.8379 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.9072, allocations: 0.9349 MB / 0.8388 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.9076, allocations: 254.7 kB / 0.839 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.9078, allocations: 23.69 kB / 0.839 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.9085, allocations: 55.75 kB / 0.8391 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9086, allocations: 67.08 kB / 0.8392 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.9087, allocations: 31.03 kB / 0.8392 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006739/0.9094, allocations: 441 kB / 0.8396 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9094, allocations: 0 / 0.8396 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001389/0.9108, allocations: 295.7 kB / 0.8399 GB, free: 11.98 MB / 0.6544 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.001834/0.9126, allocations: 0.6044 MB / 0.8405 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.9146, allocations: 0.7849 MB / 0.8412 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9146, allocations: 6.312 kB / 0.8412 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.9156, allocations: 0.4898 MB / 0.8417 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.917, allocations: 280.4 kB / 0.842 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.9216, allocations: 1.673 MB / 0.8436 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.9226, allocations: 1.012 MB / 0.8446 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001212/0.9239, allocations: 255.9 kB / 0.8449 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.9242, allocations: 101.5 kB / 0.845 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.435e-06/0.9242, allocations: 0.75 kB / 0.845 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.02647/0.9507, allocations: 14.28 MB / 0.8589 GB, free: 9.355 MB / 0.6544 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)