Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01016/0.01016, allocations: 103.2 kB / 15.73 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.001853/0.001853, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8091/0.8091, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 70.12 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.234, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008236/0.2423, allocations: 4.924 MB / 0.6694 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7693/1.012, allocations: 150.9 MB / 0.8168 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/1.014, allocations: 23.06 kB / 0.8168 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/1.015, allocations: 202.4 kB / 0.817 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004686/1.02, allocations: 0.585 MB / 0.8176 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/1.025, allocations: 0.8977 MB / 0.8185 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003746/1.029, allocations: 1.587 MB / 0.82 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/1.032, allocations: 1.06 MB / 0.821 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/1.034, allocations: 0.698 MB / 0.8217 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/1.036, allocations: 0.7301 MB / 0.8224 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007331/1.037, allocations: 175.4 kB / 0.8226 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/1.039, allocations: 0.5333 MB / 0.8231 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009302/1.04, allocations: 419.9 kB / 0.8235 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/1.042, allocations: 0.78 MB / 0.8243 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005865/1.048, allocations: 2.186 MB / 0.8264 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.048, allocations: 0 / 0.8264 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.045e-06/1.048, allocations: 0 / 0.8264 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001063/1.048, allocations: 0 / 0.8264 GB, free: 2.492 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.007475/1.056, allocations: 1.777 MB / 0.8282 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.056, allocations: 10.16 kB / 0.8282 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/1.058, allocations: 238.9 kB / 0.8284 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/1.061, allocations: 0.9102 MB / 0.8293 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/1.061, allocations: 104.5 kB / 0.8294 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/1.061, allocations: 138.1 kB / 0.8295 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/1.066, allocations: 1.427 MB / 0.8309 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.066, allocations: 0 / 0.8309 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.066, allocations: 60.25 kB / 0.831 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.066, allocations: 35.25 kB / 0.831 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/1.069, allocations: 1.514 MB / 0.8325 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007586/1.076, allocations: 3.712 MB / 0.8361 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.078, allocations: 0.9651 MB / 0.837 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/1.079, allocations: 395.5 kB / 0.8374 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.079, allocations: 48.72 kB / 0.8375 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/1.08, allocations: 0.5761 MB / 0.838 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/1.08, allocations: 0 / 0.838 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.003807/1.084, allocations: 1.479 MB / 0.8395 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.084, allocations: 195.2 kB / 0.8397 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.085, allocations: 0.7635 MB / 0.8404 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/1.085, allocations: 42.11 kB / 0.8404 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/1.086, allocations: 0.5558 MB / 0.841 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/1.086, allocations: 343.1 kB / 0.8413 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/1.087, allocations: 217.4 kB / 0.8415 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.087, allocations: 352 kB / 0.8419 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/1.088, allocations: 366.1 kB / 0.8422 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/1.088, allocations: 472.1 kB / 0.8427 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.09, allocations: 0.8296 MB / 0.8435 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.09, allocations: 1.688 kB / 0.8435 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002609/1.093, allocations: 1.112 MB / 0.8446 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.093, allocations: 5.688 kB / 0.8446 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.093, allocations: 2.094 kB / 0.8446 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.093, allocations: 88.02 kB / 0.8446 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/1.094, allocations: 228.9 kB / 0.8449 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.097, allocations: 1.635 MB / 0.8465 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.098, allocations: 109.8 kB / 0.8466 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.098, allocations: 55.95 kB / 0.8466 GB, free: 4.316 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 (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.0007606/1.099, allocations: 314.9 kB / 0.8469 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/1.099, allocations: 102.7 kB / 0.847 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.103, allocations: 1.382 MB / 0.8484 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.103, allocations: 15.75 kB / 0.8484 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.103, allocations: 3.938 kB / 0.8484 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.103, allocations: 3.984 kB / 0.8484 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/1.108, allocations: 2.564 MB / 0.8509 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.108, allocations: 0 / 0.8509 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008237/1.109, allocations: 191.8 kB / 0.8511 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/1.109, allocations: 72.78 kB / 0.8511 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/1.109, allocations: 31.92 kB / 0.8512 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/1.111, allocations: 1.686 MB / 0.8528 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.111, allocations: 0 / 0.8528 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/1.114, allocations: 1.169 MB / 0.854 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/1.115, allocations: 315.5 kB / 0.8543 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/1.115, allocations: 27.84 kB / 0.8543 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/1.116, allocations: 63.94 kB / 0.8544 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.116, allocations: 76.89 kB / 0.8544 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/1.116, allocations: 39.97 kB / 0.8545 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009929/1.117, allocations: 0.5732 MB / 0.855 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.117, allocations: 0 / 0.855 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001439/1.119, allocations: 410.6 kB / 0.8554 GB, free: 11.04 MB / 0.6231 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.001724/1.12, allocations: 0.6059 MB / 0.856 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00245/1.123, allocations: 1.03 MB / 0.857 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.123, allocations: 0 / 0.857 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.124, allocations: 0.6213 MB / 0.8576 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.126, allocations: 303.1 kB / 0.8579 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/1.132, allocations: 2.314 MB / 0.8602 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.133, allocations: 1.165 MB / 0.8613 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001203/1.134, allocations: 296.3 kB / 0.8616 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/1.135, allocations: 135.4 kB / 0.8617 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of SimCode: time 1.813e-06/1.135, allocations: 0 / 0.8617 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of Templates: time 0.03559/1.171, allocations: 18.01 MB / 0.8793 GB, free: 2.816 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)