Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007855/0.0007855, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008331/0.0008332, allocations: 168.7 kB / 15.95 MB, free: 200 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.253/1.253, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7215/0.7215, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002689, allocations: 8 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3395, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004055/0.3436, allocations: 3.604 MB / 0.5866 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.479, allocations: 136.7 MB / 0.7201 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.4796, allocations: 19.88 kB / 0.7202 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.4801, allocations: 119 kB / 0.7203 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.4813, allocations: 389 kB / 0.7206 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4828, allocations: 0.6263 MB / 0.7212 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.4838, allocations: 1.036 MB / 0.7223 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/0.4846, allocations: 0.5382 MB / 0.7228 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.485, allocations: 306.5 kB / 0.7231 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4854, allocations: 322.2 kB / 0.7234 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.4855, allocations: 24 kB / 0.7234 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006156/0.4861, allocations: 347.7 kB / 0.7237 GB, free: 224 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4863, allocations: 171.2 kB / 0.7239 GB, free: 52 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.4865, allocations: 189.2 kB / 0.7241 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4875, allocations: 1.134 MB / 0.7252 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4875, allocations: 8 kB / 0.7252 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4875, allocations: 0 / 0.7252 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.4875, allocations: 0 / 0.7252 GB, free: 14.71 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001829/0.4894, allocations: 1.19 MB / 0.7264 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4894, allocations: 12.03 kB / 0.7264 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4904, allocations: 214.4 kB / 0.7266 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.4914, allocations: 0.6953 MB / 0.7273 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.4914, allocations: 70 kB / 0.7273 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4916, allocations: 91.94 kB / 0.7274 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4931, allocations: 0.9457 MB / 0.7283 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4931, allocations: 0 / 0.7283 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.4932, allocations: 44 kB / 0.7284 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.4932, allocations: 23.95 kB / 0.7284 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.4949, allocations: 1.128 MB / 0.7295 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.4989, allocations: 2.571 MB / 0.732 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.5003, allocations: 0.8331 MB / 0.7328 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.5008, allocations: 290.7 kB / 0.7331 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.5014, allocations: 466.5 kB / 0.7335 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000735/0.5021, allocations: 447.2 kB / 0.734 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.245e-06/0.5021, allocations: 3.938 kB / 0.734 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002683/0.5048, allocations: 1.108 MB / 0.7351 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.5049, allocations: 188.6 kB / 0.7352 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.5056, allocations: 0.6018 MB / 0.7358 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.5057, allocations: 37.7 kB / 0.7359 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.5059, allocations: 400.2 kB / 0.7362 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.5061, allocations: 244.4 kB / 0.7365 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.5062, allocations: 12 kB / 0.7365 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5063, allocations: 386.8 kB / 0.7369 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.5068, allocations: 241.9 kB / 0.7371 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.5073, allocations: 335.1 kB / 0.7374 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.5079, allocations: 286.9 kB / 0.7377 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5079, allocations: 7.953 kB / 0.7377 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001662/0.5096, allocations: 0.7942 MB / 0.7385 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5096, allocations: 8 kB / 0.7385 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5096, allocations: 3.984 kB / 0.7385 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.5101, allocations: 80.88 kB / 0.7386 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.5107, allocations: 151.8 kB / 0.7387 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.5125, allocations: 1.52 MB / 0.7402 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.5131, allocations: 91.39 kB / 0.7403 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.5132, allocations: 35.92 kB / 0.7403 GB, free: 14.64 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 ($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 (84): * Single equations (assignments): 83 * 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.0003389/0.5135, allocations: 259 kB / 0.7405 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5136, allocations: 79.05 kB / 0.7406 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.5158, allocations: 1.009 MB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.5158, allocations: 11.95 kB / 0.7416 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5158, allocations: 0 / 0.7416 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5159, allocations: 3.984 kB / 0.7416 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.5188, allocations: 1.903 MB / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.5188, allocations: 0 / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.5193, allocations: 143.8 kB / 0.7436 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.5198, allocations: 84.77 kB / 0.7437 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.5199, allocations: 27.98 kB / 0.7437 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.5215, allocations: 1.544 MB / 0.7452 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5215, allocations: 0 / 0.7452 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.5232, allocations: 0.9297 MB / 0.7461 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.5235, allocations: 267.8 kB / 0.7464 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5236, allocations: 23.94 kB / 0.7464 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.5242, allocations: 75.14 kB / 0.7465 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5243, allocations: 60.86 kB / 0.7466 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.5244, allocations: 27.98 kB / 0.7466 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004678/0.5248, allocations: 439 kB / 0.747 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5248, allocations: 0 / 0.747 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007761/0.5256, allocations: 315.1 kB / 0.7473 GB, free: 7.215 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 (84): * Single equations (assignments): 81 * 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.001238/0.5269, allocations: 0.6114 MB / 0.7479 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.5283, allocations: 0.769 MB / 0.7486 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5283, allocations: 0 / 0.7486 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/0.5291, allocations: 0.4886 MB / 0.7491 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5302, allocations: 247.2 kB / 0.7494 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5338, allocations: 2.132 MB / 0.7514 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.5344, allocations: 1.023 MB / 0.7524 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000812/0.5353, allocations: 258.1 kB / 0.7527 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.5355, allocations: 99.38 kB / 0.7528 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.5355, allocations: 0 / 0.7528 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.02072/0.5562, allocations: 13.19 MB / 0.7657 GB, free: 4.742 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)