Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009185/0.0009183, 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.001011/0.001011, 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.398/1.398, allocations: 223.2 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-master/package.mo): time 0.9835/0.9835, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003996, allocations: 8.625 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 82.3 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005012/0.1963, allocations: 3.596 MB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5221/0.7185, allocations: 136.7 MB / 0.7244 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.7201, allocations: 18.47 kB / 0.7244 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7211, allocations: 131.1 kB / 0.7245 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.7235, allocations: 381.3 kB / 0.7249 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.7262, allocations: 0.618 MB / 0.7255 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.7282, allocations: 1.041 MB / 0.7265 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.7292, allocations: 0.5353 MB / 0.727 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.7301, allocations: 311 kB / 0.7273 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.7307, allocations: 326.6 kB / 0.7276 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.7308, allocations: 26.41 kB / 0.7277 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.7324, allocations: 335.7 kB / 0.728 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.7326, allocations: 168.1 kB / 0.7281 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.7329, allocations: 188.2 kB / 0.7283 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.7353, allocations: 1.141 MB / 0.7294 GB, free: 5.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.7353, allocations: 0 / 0.7294 GB, free: 5.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.895e-06/0.7353, allocations: 7.938 kB / 0.7294 GB, free: 5.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.7353, allocations: 0 / 0.7294 GB, free: 5.496 MB / 0.545 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.003267/0.7386, allocations: 1.18 MB / 0.7306 GB, free: 4.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.517e-05/0.7387, allocations: 9.812 kB / 0.7306 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.7407, allocations: 317.8 kB / 0.7309 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.7423, allocations: 0.6952 MB / 0.7316 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.7424, allocations: 70.55 kB / 0.7316 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.7426, allocations: 90.97 kB / 0.7317 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.7455, allocations: 1.003 MB / 0.7327 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.7456, allocations: 0 / 0.7327 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.7457, allocations: 41.12 kB / 0.7328 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/0.7458, allocations: 23.75 kB / 0.7328 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.7486, allocations: 1.224 MB / 0.734 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.7545, allocations: 2.607 MB / 0.7365 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.7568, allocations: 0.9454 MB / 0.7374 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.7574, allocations: 338.1 kB / 0.7378 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.7575, allocations: 32.58 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/0.7585, allocations: 493 kB / 0.7383 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=75): time 2.175e-06/0.7585, allocations: 0 / 0.7383 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of matching and sorting (n=75): time 0.003284/0.7618, allocations: 1.235 MB / 0.7395 GB, free: 96 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.762, allocations: 193.3 kB / 0.7397 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.7628, allocations: 0.5992 MB / 0.7402 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.7629, allocations: 42.89 kB / 0.7403 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.7632, allocations: 400.2 kB / 0.7407 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.7635, allocations: 247.8 kB / 0.7409 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.7635, allocations: 16.03 kB / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7637, allocations: 387.7 kB / 0.7413 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.7643, allocations: 290.9 kB / 0.7416 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.7651, allocations: 379 kB / 0.7419 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.7658, allocations: 335.9 kB / 0.7422 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7658, allocations: 4 kB / 0.7422 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002097/0.7679, allocations: 0.884 MB / 0.7431 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.7679, allocations: 4 kB / 0.7431 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.768, allocations: 4 kB / 0.7431 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.7685, allocations: 84.8 kB / 0.7432 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.7693, allocations: 167.8 kB / 0.7434 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.7712, allocations: 1.528 MB / 0.7449 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.7721, allocations: 115.3 kB / 0.745 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.7721, allocations: 31.97 kB / 0.745 GB, free: 11 MB / 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 (86): * Single equations (assignments): 85 * 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.0005824/0.7727, allocations: 258.6 kB / 0.7452 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.7729, allocations: 79.05 kB / 0.7453 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.7754, allocations: 1.117 MB / 0.7464 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7754, allocations: 11.98 kB / 0.7464 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7754, allocations: 7.938 kB / 0.7464 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7754, allocations: 4.047 kB / 0.7464 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.779, allocations: 2.038 MB / 0.7484 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.779, allocations: 4 kB / 0.7484 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.7797, allocations: 167.8 kB / 0.7486 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.7801, allocations: 80.78 kB / 0.7487 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.7802, allocations: 27.97 kB / 0.7487 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.7819, allocations: 1.54 MB / 0.7502 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.782, allocations: 3.953 kB / 0.7502 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.7841, allocations: 1.019 MB / 0.7512 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.7846, allocations: 279.7 kB / 0.7515 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7848, allocations: 16 kB / 0.7515 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.7855, allocations: 87.92 kB / 0.7516 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7856, allocations: 64.91 kB / 0.7516 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.7857, allocations: 27.98 kB / 0.7516 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006704/0.7864, allocations: 435 kB / 0.7521 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7864, allocations: 0 / 0.7521 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001204/0.7876, allocations: 315.1 kB / 0.7524 GB, free: 3.203 MB / 0.5606 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 (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.001716/0.7893, allocations: 0.5948 MB / 0.7529 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.7915, allocations: 0.8702 MB / 0.7538 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7915, allocations: 0 / 0.7538 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.7926, allocations: 0.5431 MB / 0.7543 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.794, allocations: 248.1 kB / 0.7546 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.7991, allocations: 2.201 MB / 0.7567 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.8, allocations: 1.031 MB / 0.7577 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001251/0.8013, allocations: 266.2 kB / 0.758 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.8017, allocations: 95.39 kB / 0.7581 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.548e-06/0.8017, allocations: 4 kB / 0.7581 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.02829/0.83, allocations: 13.35 MB / 0.7711 GB, free: 300 kB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)