Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 103 kB / 16.36 MB, free: 6.336 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.00103/0.00103, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 80.19 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004651/0.3124, allocations: 4.189 MB / 0.5856 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1469/0.4593, allocations: 150.5 MB / 0.7325 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.4601, allocations: 19.88 kB / 0.7326 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.4607, allocations: 170.5 kB / 0.7327 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.4625, allocations: 468.9 kB / 0.7332 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.4645, allocations: 0.8143 MB / 0.734 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.4659, allocations: 1.211 MB / 0.7352 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.4671, allocations: 0.7093 MB / 0.7358 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.4677, allocations: 466.3 kB / 0.7363 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.4683, allocations: 485.8 kB / 0.7368 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.4686, allocations: 116 kB / 0.7369 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.4695, allocations: 479.6 kB / 0.7373 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.4698, allocations: 299 kB / 0.7376 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/0.4704, allocations: 0.5363 MB / 0.7381 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.4722, allocations: 1.581 MB / 0.7397 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4722, allocations: 4 kB / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4722, allocations: 0 / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.4723, allocations: 3.938 kB / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002662/0.4749, allocations: 1.393 MB / 0.741 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.475, allocations: 8.031 kB / 0.741 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.4767, allocations: 299.2 kB / 0.7413 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4779, allocations: 0.75 MB / 0.7421 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.478, allocations: 74 kB / 0.7421 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.4781, allocations: 91.94 kB / 0.7422 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.48, allocations: 1.003 MB / 0.7432 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.48, allocations: 4 kB / 0.7432 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.4801, allocations: 36 kB / 0.7432 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.4802, allocations: 24 kB / 0.7433 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.4825, allocations: 1.221 MB / 0.7445 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.4866, allocations: 2.542 MB / 0.7469 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.489, allocations: 0.9348 MB / 0.7479 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.4897, allocations: 326.7 kB / 0.7482 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.4898, allocations: 40.67 kB / 0.7482 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/0.4907, allocations: 491.1 kB / 0.7487 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.514e-06/0.4907, allocations: 0 / 0.7487 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003495/0.4942, allocations: 1.234 MB / 0.7499 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.4943, allocations: 192.6 kB / 0.7501 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.4951, allocations: 0.5978 MB / 0.7506 GB, free: 128 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.4951, allocations: 45.64 kB / 0.7507 GB, free: 76 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2388/0.7339, allocations: 394.8 kB / 0.7511 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.7342, allocations: 251.2 kB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.7345, allocations: 152.6 kB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7346, allocations: 384 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/0.7354, allocations: 291.8 kB / 0.7521 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.7363, allocations: 382.8 kB / 0.7525 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.7378, allocations: 0.6521 MB / 0.7531 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7378, allocations: 2.125 kB / 0.7531 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00245/0.7402, allocations: 0.878 MB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.7403, allocations: 7.406 kB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7403, allocations: 4.219 kB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.7409, allocations: 83.42 kB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.7418, allocations: 176.7 kB / 0.7542 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.7436, allocations: 1.638 MB / 0.7558 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.7444, allocations: 97.78 kB / 0.7559 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/0.7444, allocations: 37.34 kB / 0.7559 GB, free: 164.5 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 (86): * Single equations (assignments): 85 * 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.000403/0.7449, allocations: 259.6 kB / 0.7562 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.745, allocations: 75.38 kB / 0.7563 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.7478, allocations: 1.112 MB / 0.7573 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.7478, allocations: 9.062 kB / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.7479, allocations: 0 / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.7479, allocations: 6.734 kB / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.7517, allocations: 2.021 MB / 0.7593 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7517, allocations: 0 / 0.7593 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/0.7525, allocations: 170.9 kB / 0.7595 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.753, allocations: 70.75 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.753, allocations: 27.08 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.7545, allocations: 1.661 MB / 0.7612 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7545, allocations: 0 / 0.7612 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.7567, allocations: 1.026 MB / 0.7622 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.757, allocations: 261.5 kB / 0.7625 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.7571, allocations: 18.47 kB / 0.7625 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.7578, allocations: 75.11 kB / 0.7626 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.7579, allocations: 59.02 kB / 0.7626 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.758, allocations: 36.02 kB / 0.7626 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004518/0.7585, allocations: 447.5 kB / 0.7631 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7585, allocations: 1.062 kB / 0.7631 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007968/0.7593, allocations: 307.8 kB / 0.7634 GB, free: 160 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 (88): * Single equations (assignments): 85 * 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.001217/0.7605, allocations: 0.5936 MB / 0.7639 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001882/0.7624, allocations: 0.8672 MB / 0.7648 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7624, allocations: 5.062 kB / 0.7648 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7634, allocations: 0.5367 MB / 0.7653 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.7645, allocations: 296.1 kB / 0.7656 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.7679, allocations: 1.782 MB / 0.7673 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.7682, allocations: 1.021 MB / 0.7683 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006879/0.7689, allocations: 265.8 kB / 0.7686 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.7692, allocations: 99.38 kB / 0.7687 GB, free: 157 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.7692, allocations: 0 / 0.7687 GB, free: 157 MB / 0.5762 GB Notification: Performance of Templates: time 0.0183/0.7875, allocations: 14.39 MB / 0.7827 GB, free: 142.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)