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.007588/0.007588, allocations: 99.97 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.001366/0.001367, allocations: 190.3 kB / 16.67 MB, free: 5.922 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8375/0.8375, allocations: 135.2 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.98 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1987, allocations: 80.92 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007025/0.2058, allocations: 4.916 MB / 0.6694 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7621/0.9679, allocations: 150.9 MB / 0.8168 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.9694, allocations: 17.69 kB / 0.8168 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.9702, allocations: 192.5 kB / 0.817 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.9729, allocations: 0.5846 MB / 0.8176 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.9758, allocations: 0.8858 MB / 0.8184 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003115/0.9789, allocations: 1.587 MB / 0.82 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.9807, allocations: 1.072 MB / 0.821 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.9821, allocations: 0.6721 MB / 0.8217 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.9831, allocations: 0.7377 MB / 0.8224 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.9834, allocations: 175.5 kB / 0.8226 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.9847, allocations: 0.532 MB / 0.8231 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.9852, allocations: 421.7 kB / 0.8235 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007982/0.986, allocations: 0.7763 MB / 0.8242 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.9892, allocations: 2.189 MB / 0.8264 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9892, allocations: 0 / 0.8264 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9892, allocations: 0 / 0.8264 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.9893, allocations: 0 / 0.8264 GB, free: 2.41 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.00364/0.9929, allocations: 1.836 MB / 0.8282 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.993, allocations: 9.625 kB / 0.8282 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.994, allocations: 240.5 kB / 0.8284 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.9955, allocations: 0.9107 MB / 0.8293 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.9956, allocations: 108.9 kB / 0.8294 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.9957, allocations: 134.3 kB / 0.8295 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.9981, allocations: 1.429 MB / 0.8309 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.9981, allocations: 0 / 0.8309 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.9983, allocations: 66.48 kB / 0.831 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.9983, allocations: 35.25 kB / 0.831 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.001, allocations: 1.506 MB / 0.8325 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006125/1.007, allocations: 3.737 MB / 0.8362 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.008, allocations: 0.9728 MB / 0.8371 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/1.009, allocations: 397.5 kB / 0.8375 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.009, allocations: 44.56 kB / 0.8375 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.01, allocations: 0.5838 MB / 0.8381 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.426e-06/1.01, allocations: 0 / 0.8381 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.003791/1.014, allocations: 1.48 MB / 0.8395 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.014, allocations: 197.9 kB / 0.8397 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.015, allocations: 0.7572 MB / 0.8405 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.016, allocations: 45.95 kB / 0.8405 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/1.016, allocations: 0.5689 MB / 0.8411 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/1.016, allocations: 367.6 kB / 0.8414 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/1.017, allocations: 216.4 kB / 0.8416 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.017, allocations: 351.2 kB / 0.842 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/1.018, allocations: 358.9 kB / 0.8423 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/1.018, allocations: 472.5 kB / 0.8428 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.02, allocations: 0.8276 MB / 0.8436 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.02, allocations: 2.031 kB / 0.8436 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002729/1.023, allocations: 1.114 MB / 0.8446 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/1.023, allocations: 6.875 kB / 0.8447 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.023, allocations: 7.938 kB / 0.8447 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/1.024, allocations: 86.05 kB / 0.8447 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/1.024, allocations: 226.5 kB / 0.845 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/1.027, allocations: 1.642 MB / 0.8466 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.028, allocations: 120.8 kB / 0.8467 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.028, allocations: 43.97 kB / 0.8467 GB, free: 4.066 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.0008456/1.029, allocations: 318.9 kB / 0.847 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/1.03, allocations: 104.1 kB / 0.8471 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/1.033, allocations: 1.387 MB / 0.8485 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.033, allocations: 12 kB / 0.8485 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.033, allocations: 3.938 kB / 0.8485 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.033, allocations: 3.984 kB / 0.8485 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/1.039, allocations: 2.564 MB / 0.851 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.039, allocations: 7.938 kB / 0.851 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/1.04, allocations: 195.7 kB / 0.8512 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/1.04, allocations: 68.8 kB / 0.8513 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.04, allocations: 35.97 kB / 0.8513 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/1.043, allocations: 1.674 MB / 0.8529 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.043, allocations: 0 / 0.8529 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/1.046, allocations: 1.182 MB / 0.8541 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/1.046, allocations: 324 kB / 0.8544 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/1.047, allocations: 31.89 kB / 0.8544 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/1.048, allocations: 55.94 kB / 0.8545 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.048, allocations: 80.89 kB / 0.8546 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.048, allocations: 35.97 kB / 0.8546 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001351/1.049, allocations: 0.5732 MB / 0.8551 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/1.049, allocations: 4 kB / 0.8552 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001931/1.051, allocations: 406.8 kB / 0.8555 GB, free: 10.77 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.001883/1.053, allocations: 0.6096 MB / 0.8561 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002796/1.056, allocations: 1.034 MB / 0.8571 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.056, allocations: 0 / 0.8571 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.057, allocations: 0.6134 MB / 0.8577 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.059, allocations: 302.8 kB / 0.858 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/1.065, allocations: 2.362 MB / 0.8603 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.066, allocations: 1.169 MB / 0.8615 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001315/1.068, allocations: 300.3 kB / 0.8618 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.068, allocations: 131.4 kB / 0.8619 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/1.068, allocations: 0 / 0.8619 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of Templates: time 0.03501/1.103, allocations: 18.01 MB / 0.8795 GB, free: 2.477 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)