Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001109/0.001109, allocations: 172.7 kB / 15.95 MB, free: 208 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.26/1.26, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7138/0.7138, allocations: 132.3 MB / 423.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 8.969 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3399, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003518/0.3434, allocations: 3.499 MB / 0.5865 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1366/0.4801, allocations: 136.7 MB / 0.7199 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.4805, allocations: 15.94 kB / 0.7199 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.4809, allocations: 130.9 kB / 0.7201 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.4817, allocations: 384.8 kB / 0.7204 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4829, allocations: 0.601 MB / 0.721 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008272/0.4838, allocations: 1.012 MB / 0.722 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.4843, allocations: 475.8 kB / 0.7225 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.4847, allocations: 286.7 kB / 0.7227 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.485, allocations: 312.8 kB / 0.723 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.4851, allocations: 20 kB / 0.7231 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.4856, allocations: 331.7 kB / 0.7234 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.4857, allocations: 163.2 kB / 0.7235 GB, free: 404 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.4859, allocations: 185.2 kB / 0.7237 GB, free: 212 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000878/0.4868, allocations: 1.068 MB / 0.7248 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4868, allocations: 0 / 0.7248 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4868, allocations: 0 / 0.7248 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4868, allocations: 0 / 0.7248 GB, free: 15.14 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001555/0.4884, allocations: 1.124 MB / 0.7258 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.4884, allocations: 8.031 kB / 0.7259 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.4892, allocations: 190.5 kB / 0.726 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.49, allocations: 0.6759 MB / 0.7267 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.4901, allocations: 58 kB / 0.7268 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.4902, allocations: 80 kB / 0.7268 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.4915, allocations: 0.8559 MB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4915, allocations: 0 / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.4916, allocations: 32 kB / 0.7277 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.4916, allocations: 20 kB / 0.7277 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.4932, allocations: 1.065 MB / 0.7288 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.4963, allocations: 2.406 MB / 0.7311 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.4975, allocations: 0.7929 MB / 0.7319 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.498, allocations: 274.4 kB / 0.7321 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/0.4981, allocations: 32.58 kB / 0.7322 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.4987, allocations: 421.7 kB / 0.7326 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 4.088e-06/0.4988, allocations: 0 / 0.7326 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002504/0.5013, allocations: 1.086 MB / 0.7336 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.5013, allocations: 192.5 kB / 0.7338 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.502, allocations: 0.5782 MB / 0.7344 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.502, allocations: 37.7 kB / 0.7344 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.5023, allocations: 360.4 kB / 0.7348 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5024, allocations: 236.7 kB / 0.735 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.5025, allocations: 11.94 kB / 0.735 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5026, allocations: 378.8 kB / 0.7354 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.503, allocations: 241.9 kB / 0.7356 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.5035, allocations: 322.8 kB / 0.7359 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.504, allocations: 279.1 kB / 0.7362 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.504, allocations: 0 / 0.7362 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001523/0.5055, allocations: 0.7666 MB / 0.7369 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5056, allocations: 4 kB / 0.7369 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5056, allocations: 4 kB / 0.7369 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.5061, allocations: 84.86 kB / 0.737 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.5067, allocations: 143.8 kB / 0.7371 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5084, allocations: 1.536 MB / 0.7386 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.509, allocations: 87.45 kB / 0.7387 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.509, allocations: 31.97 kB / 0.7388 GB, free: 288 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 (81): * Single equations (assignments): 80 * 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.000308/0.5093, allocations: 255.2 kB / 0.739 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5095, allocations: 79.25 kB / 0.7391 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5115, allocations: 0.9781 MB / 0.74 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5115, allocations: 12 kB / 0.74 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5115, allocations: 0 / 0.74 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.5115, allocations: 3.984 kB / 0.74 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.5142, allocations: 1.833 MB / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5142, allocations: 0 / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.5148, allocations: 143.8 kB / 0.742 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.5152, allocations: 84.77 kB / 0.7421 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.5153, allocations: 23.98 kB / 0.7421 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.5169, allocations: 1.552 MB / 0.7436 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5169, allocations: 0 / 0.7436 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.5185, allocations: 0.9063 MB / 0.7445 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.5188, allocations: 263.8 kB / 0.7447 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.5189, allocations: 19.98 kB / 0.7447 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.5194, allocations: 67.89 kB / 0.7448 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5195, allocations: 60.91 kB / 0.7449 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.5195, allocations: 31.98 kB / 0.7449 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004332/0.52, allocations: 415.1 kB / 0.7453 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.52, allocations: 0 / 0.7453 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007256/0.5207, allocations: 279.3 kB / 0.7456 GB, free: 9.055 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 (81): * Single equations (assignments): 78 * 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.00121/0.5219, allocations: 0.5877 MB / 0.7461 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.5232, allocations: 0.7549 MB / 0.7469 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5232, allocations: 4.188 kB / 0.7469 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.524, allocations: 484.3 kB / 0.7473 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.525, allocations: 249.3 kB / 0.7476 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.5282, allocations: 2.005 MB / 0.7495 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.5287, allocations: 0.9964 MB / 0.7505 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007016/0.5294, allocations: 253.4 kB / 0.7507 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.5297, allocations: 95.39 kB / 0.7508 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5297, allocations: 4 kB / 0.7508 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.01872/0.5484, allocations: 12.64 MB / 0.7632 GB, free: 7.309 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)