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.001149/0.001149, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008961/0.008961, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.997/0.997, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 11.98 kB / 0.5076 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1878, allocations: 82.31 MB / 0.588 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005102/0.1929, allocations: 3.772 MB / 0.5917 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5449/0.7379, allocations: 146.7 MB / 0.7349 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.7387, allocations: 23.28 kB / 0.735 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.7393, allocations: 135.2 kB / 0.7351 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.7412, allocations: 415.7 kB / 0.7355 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.7437, allocations: 0.6857 MB / 0.7362 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.7456, allocations: 1.125 MB / 0.7373 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.7467, allocations: 0.5963 MB / 0.7378 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.7474, allocations: 314 kB / 0.7381 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.748, allocations: 339.8 kB / 0.7385 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.7481, allocations: 26.69 kB / 0.7385 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.7492, allocations: 364 kB / 0.7388 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.7494, allocations: 176 kB / 0.739 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.7499, allocations: 429.5 kB / 0.7394 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.7518, allocations: 1.368 MB / 0.7407 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7518, allocations: 0 / 0.7407 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7518, allocations: 0 / 0.7407 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.7518, allocations: 0 / 0.7407 GB, free: 12.08 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.002502/0.7543, allocations: 1.133 MB / 0.7419 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.7544, allocations: 9.125 kB / 0.7419 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.7556, allocations: 195.2 kB / 0.742 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.7569, allocations: 0.712 MB / 0.7427 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.757, allocations: 62.91 kB / 0.7428 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7572, allocations: 80.25 kB / 0.7429 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.7593, allocations: 0.8933 MB / 0.7438 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.7593, allocations: 0 / 0.7438 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7594, allocations: 36.42 kB / 0.7438 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.7594, allocations: 20.62 kB / 0.7438 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.7619, allocations: 1.108 MB / 0.7449 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.767, allocations: 2.515 MB / 0.7473 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.7687, allocations: 0.7394 MB / 0.7481 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006554/0.7694, allocations: 294.6 kB / 0.7483 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.7695, allocations: 32.88 kB / 0.7484 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.7705, allocations: 448.8 kB / 0.7488 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/0.7705, allocations: 0 / 0.7488 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003788/0.7743, allocations: 1.137 MB / 0.7499 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.7744, allocations: 188.1 kB / 0.7501 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.7754, allocations: 0.6022 MB / 0.7507 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.97e-05/0.7755, allocations: 41.7 kB / 0.7507 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.7759, allocations: 376.2 kB / 0.7511 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.7762, allocations: 256.3 kB / 0.7513 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.7763, allocations: 73.67 kB / 0.7514 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.7765, allocations: 378.7 kB / 0.7518 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.7772, allocations: 257.8 kB / 0.752 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.778, allocations: 351 kB / 0.7523 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.7795, allocations: 0.5955 MB / 0.7529 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.7795, allocations: 0 / 0.7529 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002515/0.782, allocations: 0.8176 MB / 0.7537 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.7821, allocations: 8 kB / 0.7537 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.7821, allocations: 0 / 0.7537 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007223/0.7828, allocations: 84.83 kB / 0.7538 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/0.7837, allocations: 163.7 kB / 0.754 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.7862, allocations: 1.517 MB / 0.7554 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.7871, allocations: 92.64 kB / 0.7555 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.7872, allocations: 40.84 kB / 0.7556 GB, free: 480 kB / 0.5606 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.0005788/0.7878, allocations: 249.7 kB / 0.7558 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.788, allocations: 79.06 kB / 0.7559 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.7911, allocations: 1.044 MB / 0.7569 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7911, allocations: 8 kB / 0.7569 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7911, allocations: 3.984 kB / 0.7569 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.7912, allocations: 3.984 kB / 0.7569 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.7953, allocations: 1.888 MB / 0.7588 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7953, allocations: 0 / 0.7588 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.7961, allocations: 151.8 kB / 0.7589 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.7968, allocations: 80.72 kB / 0.759 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.7968, allocations: 27.98 kB / 0.759 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.7991, allocations: 1.548 MB / 0.7605 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7991, allocations: 0 / 0.7605 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.8016, allocations: 0.9414 MB / 0.7614 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.8022, allocations: 275.7 kB / 0.7617 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.8023, allocations: 16 kB / 0.7617 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008087/0.8031, allocations: 71.88 kB / 0.7618 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.8033, allocations: 64.86 kB / 0.7619 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.8034, allocations: 31.97 kB / 0.7619 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000752/0.8042, allocations: 443 kB / 0.7623 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.074e-06/0.8042, allocations: 0 / 0.7623 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001131/0.8053, allocations: 299.2 kB / 0.7626 GB, free: 9.02 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.001731/0.8071, allocations: 0.608 MB / 0.7632 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.8092, allocations: 0.7921 MB / 0.764 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8092, allocations: 0 / 0.764 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.8104, allocations: 0.4924 MB / 0.7644 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.8121, allocations: 266.3 kB / 0.7647 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.8173, allocations: 2.155 MB / 0.7668 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.8181, allocations: 0.9997 MB / 0.7678 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001157/0.8192, allocations: 258.2 kB / 0.768 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.8196, allocations: 107.4 kB / 0.7681 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.8196, allocations: 0 / 0.7681 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of Templates: time 0.02718/0.8468, allocations: 13.49 MB / 0.7813 GB, free: 6.156 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)