Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001026/0.001026, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7189/0.7189, allocations: 132.3 MB / 423.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 81.58 MB / 0.5831 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003521/0.337, allocations: 3.54 MB / 0.5865 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.4782, allocations: 136.7 MB / 0.72 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.4788, allocations: 15.88 kB / 0.72 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.4793, allocations: 131 kB / 0.7201 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.4805, allocations: 381 kB / 0.7205 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4818, allocations: 0.6005 MB / 0.7211 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.4829, allocations: 1.028 MB / 0.7221 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.4835, allocations: 463.2 kB / 0.7225 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.484, allocations: 302.6 kB / 0.7228 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.4844, allocations: 318.3 kB / 0.7231 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.4845, allocations: 20 kB / 0.7231 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005781/0.485, allocations: 335.7 kB / 0.7235 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.4852, allocations: 167.2 kB / 0.7236 GB, free: 404 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.4854, allocations: 173.2 kB / 0.7238 GB, free: 224 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.4864, allocations: 1.064 MB / 0.7248 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4864, allocations: 0 / 0.7248 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4864, allocations: 0 / 0.7248 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.4864, allocations: 0 / 0.7248 GB, free: 15.15 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001787/0.4882, allocations: 1.141 MB / 0.7259 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.4882, allocations: 12.02 kB / 0.726 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.489, allocations: 186.5 kB / 0.7261 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.49, allocations: 0.6759 MB / 0.7268 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.49, allocations: 65.94 kB / 0.7269 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.4901, allocations: 76 kB / 0.7269 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.4915, allocations: 0.8637 MB / 0.7278 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4915, allocations: 0 / 0.7278 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.4916, allocations: 32 kB / 0.7278 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.4916, allocations: 20 kB / 0.7278 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4933, allocations: 1.073 MB / 0.7289 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.4967, allocations: 2.398 MB / 0.7312 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4979, allocations: 0.7944 MB / 0.732 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.4984, allocations: 278.5 kB / 0.7323 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.4985, allocations: 32.52 kB / 0.7323 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/0.4992, allocations: 424.2 kB / 0.7327 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.793e-06/0.4992, allocations: 0 / 0.7327 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.00253/0.5018, allocations: 1.084 MB / 0.7337 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.5019, allocations: 196.6 kB / 0.7339 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/0.5025, allocations: 0.5821 MB / 0.7345 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.5026, allocations: 45.7 kB / 0.7345 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.5028, allocations: 368.3 kB / 0.7349 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.503, allocations: 240.5 kB / 0.7351 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5031, allocations: 12 kB / 0.7351 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5032, allocations: 374.8 kB / 0.7355 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.5036, allocations: 237.9 kB / 0.7357 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.5042, allocations: 330.8 kB / 0.736 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.5047, allocations: 283.1 kB / 0.7363 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5047, allocations: 0 / 0.7363 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001599/0.5063, allocations: 0.7666 MB / 0.7371 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5063, allocations: 8 kB / 0.7371 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5063, allocations: 0 / 0.7371 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.5068, allocations: 88.8 kB / 0.7372 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.5074, allocations: 147.8 kB / 0.7373 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5092, allocations: 1.524 MB / 0.7388 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.5097, allocations: 87.45 kB / 0.7389 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.5098, allocations: 31.97 kB / 0.7389 GB, free: 248 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.5101, allocations: 261.2 kB / 0.7391 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5102, allocations: 79.06 kB / 0.7392 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.5123, allocations: 1.017 MB / 0.7402 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5123, allocations: 12 kB / 0.7402 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5123, allocations: 0 / 0.7402 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.5124, allocations: 3.984 kB / 0.7402 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.5151, allocations: 1.858 MB / 0.742 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5151, allocations: 0 / 0.742 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.5156, allocations: 143.8 kB / 0.7422 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.5161, allocations: 84.77 kB / 0.7423 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.5162, allocations: 23.98 kB / 0.7423 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5177, allocations: 1.551 MB / 0.7438 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5177, allocations: 0 / 0.7438 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5193, allocations: 0.9182 MB / 0.7447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5196, allocations: 271.7 kB / 0.745 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5197, allocations: 19.98 kB / 0.745 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.5203, allocations: 63.95 kB / 0.745 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5204, allocations: 64.91 kB / 0.7451 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.5204, allocations: 27.98 kB / 0.7451 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004555/0.5209, allocations: 423 kB / 0.7455 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5209, allocations: 0 / 0.7455 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007116/0.5216, allocations: 291.3 kB / 0.7458 GB, free: 8.906 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.5228, allocations: 0.5815 MB / 0.7464 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.5241, allocations: 0.7511 MB / 0.7471 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5241, allocations: 8.188 kB / 0.7471 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.5249, allocations: 0.4884 MB / 0.7476 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5259, allocations: 252.4 kB / 0.7478 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.5295, allocations: 2.034 MB / 0.7498 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.53, allocations: 1.012 MB / 0.7508 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007569/0.5308, allocations: 249.7 kB / 0.751 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.531, allocations: 95.39 kB / 0.7511 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5311, allocations: 0 / 0.7511 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of Templates: time 0.01995/0.551, allocations: 12.79 MB / 0.7636 GB, free: 6.965 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)