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.001339/0.001339, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 199 kB / 16.54 MB, free: 6.672 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.2 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 67.88 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.94 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006185/0.1745, allocations: 4.176 MB / 0.5885 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4457/0.6203, allocations: 150.5 MB / 0.7355 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.6211, allocations: 15.72 kB / 0.7355 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.6217, allocations: 173 kB / 0.7356 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.6232, allocations: 480.6 kB / 0.7361 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.625, allocations: 0.8097 MB / 0.7369 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6261, allocations: 1.204 MB / 0.7381 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.627, allocations: 0.6913 MB / 0.7387 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.6276, allocations: 463.4 kB / 0.7392 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.6281, allocations: 492 kB / 0.7396 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.6282, allocations: 113.8 kB / 0.7398 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.629, allocations: 459.3 kB / 0.7402 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.6292, allocations: 295 kB / 0.7405 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.6297, allocations: 0.5387 MB / 0.741 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.6311, allocations: 1.536 MB / 0.7425 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6311, allocations: 5.375 kB / 0.7425 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6311, allocations: 0 / 0.7425 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6312, allocations: 0 / 0.7425 GB, free: 8.184 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002107/0.6333, allocations: 1.395 MB / 0.7439 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6333, allocations: 9.219 kB / 0.7439 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.635, allocations: 300.5 kB / 0.7442 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009376/0.636, allocations: 0.7238 MB / 0.7449 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.636, allocations: 75.06 kB / 0.7449 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6361, allocations: 85.62 kB / 0.745 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.6378, allocations: 1.004 MB / 0.746 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.6378, allocations: 0 / 0.746 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.6379, allocations: 39.12 kB / 0.746 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6379, allocations: 31.33 kB / 0.7461 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.64, allocations: 1.212 MB / 0.7473 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.6439, allocations: 2.577 MB / 0.7498 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.6463, allocations: 0.9425 MB / 0.7507 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.647, allocations: 338.3 kB / 0.751 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.6471, allocations: 32.67 kB / 0.751 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.6481, allocations: 487.2 kB / 0.7515 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 2.124e-06/0.6481, allocations: 0 / 0.7515 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003567/0.6517, allocations: 1.233 MB / 0.7527 GB, free: 168 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6518, allocations: 192.5 kB / 0.7529 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.6525, allocations: 0.5978 MB / 0.7535 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.6526, allocations: 41.7 kB / 0.7535 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.6528, allocations: 400.2 kB / 0.7539 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.653, allocations: 252.3 kB / 0.7541 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.6533, allocations: 158.5 kB / 0.7543 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6534, allocations: 390.7 kB / 0.7547 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.6541, allocations: 285.8 kB / 0.7549 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.6549, allocations: 383.1 kB / 0.7553 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6564, allocations: 0.6541 MB / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6564, allocations: 0 / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002211/0.6586, allocations: 0.88 MB / 0.7568 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6587, allocations: 8 kB / 0.7568 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6587, allocations: 3.219 kB / 0.7568 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.6593, allocations: 88.75 kB / 0.7569 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.66, allocations: 171.7 kB / 0.7571 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.6621, allocations: 1.622 MB / 0.7586 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.6629, allocations: 105.6 kB / 0.7588 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.663, allocations: 27.98 kB / 0.7588 GB, free: 9.699 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.0004309/0.6635, allocations: 265.6 kB / 0.759 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6636, allocations: 79 kB / 0.7591 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.6664, allocations: 1.101 MB / 0.7602 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6664, allocations: 12 kB / 0.7602 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6664, allocations: 8.75 kB / 0.7602 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.6664, allocations: 7.969 kB / 0.7602 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.6701, allocations: 2.034 MB / 0.7622 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6701, allocations: 0 / 0.7622 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.6709, allocations: 163.8 kB / 0.7624 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.6713, allocations: 76.06 kB / 0.7624 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.6714, allocations: 28.05 kB / 0.7624 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.6733, allocations: 1.662 MB / 0.7641 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6733, allocations: 0 / 0.7641 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.6757, allocations: 1.019 MB / 0.7651 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.6761, allocations: 259.8 kB / 0.7653 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6763, allocations: 19.94 kB / 0.7653 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.677, allocations: 75.92 kB / 0.7654 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.6771, allocations: 60.91 kB / 0.7655 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.6772, allocations: 31.98 kB / 0.7655 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005585/0.6778, allocations: 435 kB / 0.7659 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6778, allocations: 0 / 0.7659 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009177/0.6787, allocations: 307.1 kB / 0.7662 GB, free: 1.832 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.001328/0.6801, allocations: 0.6132 MB / 0.7668 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.6827, allocations: 1.061 MB / 0.7678 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6827, allocations: 0 / 0.7678 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6838, allocations: 0.5397 MB / 0.7684 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.685, allocations: 294.1 kB / 0.7686 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.6893, allocations: 1.792 MB / 0.7704 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.6898, allocations: 1.023 MB / 0.7714 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009107/0.6908, allocations: 258.3 kB / 0.7716 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.691, allocations: 99.38 kB / 0.7717 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.691, allocations: 4 kB / 0.7717 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.0227/0.7137, allocations: 14.4 MB / 0.7858 GB, free: 14.08 MB / 0.6075 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)