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.0009727/0.0009727, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01292/0.01293, allocations: 170 kB / 16.26 MB, free: 6.613 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.3 MB / 426.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 8 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1958, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005857/0.2017, allocations: 3.783 MB / 0.5917 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5611/0.7629, allocations: 146.6 MB / 0.7348 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.7638, allocations: 15.31 kB / 0.7348 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.7644, allocations: 131.2 kB / 0.735 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.766, allocations: 404.1 kB / 0.7353 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.7681, allocations: 0.7038 MB / 0.736 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.7698, allocations: 1.122 MB / 0.7371 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.7709, allocations: 0.6638 MB / 0.7378 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.7716, allocations: 315.7 kB / 0.7381 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.772, allocations: 345 kB / 0.7384 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.7721, allocations: 21.34 kB / 0.7384 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009946/0.7731, allocations: 367 kB / 0.7388 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.7734, allocations: 181.7 kB / 0.7389 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.7739, allocations: 435.2 kB / 0.7394 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.7757, allocations: 1.442 MB / 0.7408 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7757, allocations: 4 kB / 0.7408 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7757, allocations: 0 / 0.7408 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.7758, allocations: 0 / 0.7408 GB, free: 11.77 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.002112/0.7779, allocations: 1.178 MB / 0.7419 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7779, allocations: 9.625 kB / 0.7419 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7796, allocations: 313.7 kB / 0.7422 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.7807, allocations: 0.7288 MB / 0.7429 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.7808, allocations: 67.12 kB / 0.743 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.7809, allocations: 87.12 kB / 0.7431 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.7829, allocations: 1.017 MB / 0.7441 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7829, allocations: 0 / 0.7441 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.783, allocations: 41.75 kB / 0.7441 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.7831, allocations: 25.98 kB / 0.7441 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.7853, allocations: 1.227 MB / 0.7453 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.7897, allocations: 2.595 MB / 0.7479 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.7921, allocations: 0.9456 MB / 0.7488 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.7928, allocations: 338.1 kB / 0.7491 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.7929, allocations: 28.89 kB / 0.7492 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.794, allocations: 497.2 kB / 0.7496 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 2.976e-06/0.794, allocations: 3.938 kB / 0.7496 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003637/0.7977, allocations: 1.247 MB / 0.7508 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7978, allocations: 192.6 kB / 0.751 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.7986, allocations: 0.6017 MB / 0.7516 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.7987, allocations: 41.7 kB / 0.7517 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.7991, allocations: 396.2 kB / 0.752 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.7993, allocations: 248.3 kB / 0.7523 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.7994, allocations: 69.67 kB / 0.7523 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7996, allocations: 378.7 kB / 0.7527 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/0.8003, allocations: 301.8 kB / 0.753 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.8011, allocations: 391.1 kB / 0.7534 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.8026, allocations: 0.6618 MB / 0.754 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8026, allocations: 0 / 0.754 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002378/0.805, allocations: 0.8957 MB / 0.7549 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.8051, allocations: 10.5 kB / 0.7549 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8051, allocations: 0 / 0.7549 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.8057, allocations: 88.73 kB / 0.755 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.8065, allocations: 171.8 kB / 0.7551 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.8086, allocations: 1.521 MB / 0.7566 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.8095, allocations: 107.2 kB / 0.7567 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.8096, allocations: 39.97 kB / 0.7568 GB, free: 15.01 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.0005474/0.8102, allocations: 251.2 kB / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.8103, allocations: 83 kB / 0.7571 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.8131, allocations: 1.131 MB / 0.7582 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8132, allocations: 8 kB / 0.7582 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8132, allocations: 0 / 0.7582 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8132, allocations: 3.984 kB / 0.7582 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.8171, allocations: 2.038 MB / 0.7602 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.8171, allocations: 0 / 0.7602 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.8179, allocations: 167.7 kB / 0.7604 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/0.8184, allocations: 88.7 kB / 0.7604 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.8185, allocations: 23.98 kB / 0.7605 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.8205, allocations: 1.54 MB / 0.762 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8205, allocations: 8.047 kB / 0.762 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.8231, allocations: 1.031 MB / 0.763 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.8235, allocations: 283.7 kB / 0.7633 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8236, allocations: 16 kB / 0.7633 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.8244, allocations: 90.09 kB / 0.7634 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8245, allocations: 60.91 kB / 0.7634 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.8246, allocations: 31.98 kB / 0.7634 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006116/0.8252, allocations: 439 kB / 0.7639 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8252, allocations: 4 kB / 0.7639 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009359/0.8262, allocations: 299.2 kB / 0.7641 GB, free: 7.191 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.001397/0.8276, allocations: 0.5997 MB / 0.7647 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.8298, allocations: 0.8741 MB / 0.7656 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8298, allocations: 0 / 0.7656 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.8309, allocations: 0.547 MB / 0.7661 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.8323, allocations: 268.8 kB / 0.7664 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004997/0.8373, allocations: 2.277 MB / 0.7686 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.8382, allocations: 1.031 MB / 0.7696 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001134/0.8393, allocations: 266.2 kB / 0.7699 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.8397, allocations: 99.39 kB / 0.77 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.8397, allocations: 0 / 0.77 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Templates: time 0.02677/0.8665, allocations: 13.76 MB / 0.7834 GB, free: 3.773 MB / 0.5919 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)