Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001462, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 64.02 kB / 0.5049 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2019, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007102/0.2091, allocations: 4.169 MB / 0.588 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4632/0.6723, allocations: 148.4 MB / 0.7329 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.6732, allocations: 20 kB / 0.7329 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.6739, allocations: 133.2 kB / 0.733 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.6756, allocations: 434.3 kB / 0.7335 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.6776, allocations: 0.7142 MB / 0.7342 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.6791, allocations: 1.21 MB / 0.7353 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009323/0.6801, allocations: 0.6203 MB / 0.7359 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.6808, allocations: 447.6 kB / 0.7364 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.6814, allocations: 469 kB / 0.7368 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.6815, allocations: 106.2 kB / 0.7369 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.6825, allocations: 442 kB / 0.7373 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.6828, allocations: 281.8 kB / 0.7376 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.6833, allocations: 0.5016 MB / 0.7381 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.6853, allocations: 1.467 MB / 0.7395 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6853, allocations: 0 / 0.7395 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6853, allocations: 0 / 0.7395 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.6853, allocations: 0 / 0.7395 GB, free: 10.29 MB / 0.5606 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.002457/0.6878, allocations: 1.35 MB / 0.7409 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6879, allocations: 8.25 kB / 0.7409 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.6888, allocations: 179.3 kB / 0.741 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6898, allocations: 0.7077 MB / 0.7417 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.6899, allocations: 65.81 kB / 0.7418 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.69, allocations: 80.19 kB / 0.7419 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6916, allocations: 0.8885 MB / 0.7427 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6917, allocations: 0 / 0.7427 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.6917, allocations: 37.55 kB / 0.7428 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.6918, allocations: 20.69 kB / 0.7428 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6934, allocations: 1.097 MB / 0.7439 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.6974, allocations: 2.488 MB / 0.7463 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.6987, allocations: 0.7302 MB / 0.747 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.6992, allocations: 286.5 kB / 0.7473 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/0.6993, allocations: 35.47 kB / 0.7473 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008791/0.7001, allocations: 450.7 kB / 0.7477 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.7002, allocations: 0 / 0.7477 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003138/0.7033, allocations: 1.108 MB / 0.7488 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7034, allocations: 192.6 kB / 0.749 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.7042, allocations: 0.5979 MB / 0.7496 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.7043, allocations: 41.7 kB / 0.7496 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.7046, allocations: 380.3 kB / 0.75 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7048, allocations: 256.3 kB / 0.7502 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.7051, allocations: 162.5 kB / 0.7504 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7053, allocations: 382.8 kB / 0.7508 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.7058, allocations: 253.6 kB / 0.751 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.7064, allocations: 351 kB / 0.7513 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7074, allocations: 0.5837 MB / 0.7519 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7074, allocations: 0 / 0.7519 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001959/0.7094, allocations: 0.8176 MB / 0.7527 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7094, allocations: 8.094 kB / 0.7527 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7095, allocations: 0 / 0.7527 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.7101, allocations: 84.77 kB / 0.7528 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.7108, allocations: 159.7 kB / 0.7529 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.713, allocations: 1.622 MB / 0.7545 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.7138, allocations: 87.27 kB / 0.7546 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.7138, allocations: 35.97 kB / 0.7546 GB, free: 13.7 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 (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.0005065/0.7144, allocations: 253.8 kB / 0.7549 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.7145, allocations: 79 kB / 0.755 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.7169, allocations: 1.029 MB / 0.756 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.717, allocations: 8 kB / 0.756 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.717, allocations: 0 / 0.756 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.717, allocations: 7.969 kB / 0.756 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.7201, allocations: 1.884 MB / 0.7578 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7202, allocations: 0 / 0.7578 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.7208, allocations: 151.8 kB / 0.758 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.7212, allocations: 68.73 kB / 0.758 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.7213, allocations: 23.98 kB / 0.7581 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.7234, allocations: 1.662 MB / 0.7597 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.7234, allocations: 7.922 kB / 0.7597 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.7255, allocations: 0.9258 MB / 0.7606 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.7259, allocations: 263.8 kB / 0.7608 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.726, allocations: 16 kB / 0.7609 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.7266, allocations: 51.94 kB / 0.7609 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7268, allocations: 64.86 kB / 0.761 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.7269, allocations: 35.97 kB / 0.761 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000603/0.7275, allocations: 439 kB / 0.7614 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7275, allocations: 0 / 0.7614 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.7285, allocations: 295.3 kB / 0.7617 GB, free: 6.203 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 (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.001385/0.7299, allocations: 0.5995 MB / 0.7623 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.7322, allocations: 0.9754 MB / 0.7632 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7322, allocations: 4 kB / 0.7632 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.7331, allocations: 0.4925 MB / 0.7637 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.7345, allocations: 284.1 kB / 0.764 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.7385, allocations: 2.103 MB / 0.766 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.7391, allocations: 1.004 MB / 0.767 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000896/0.74, allocations: 258.3 kB / 0.7673 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.7403, allocations: 103.4 kB / 0.7674 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.7403, allocations: 3.938 kB / 0.7674 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of Templates: time 0.02575/0.7661, allocations: 14.06 MB / 0.7811 GB, free: 2.648 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)