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.001346/0.001346, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001279/0.001279, allocations: 189.7 kB / 17.3 MB, free: 5.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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8023/0.8023, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.88 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.426, allocations: 80.9 MB / 0.5858 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005986/0.432, allocations: 4.19 MB / 0.5899 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.6003, allocations: 150.5 MB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.6014, allocations: 19.88 kB / 0.7368 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008534/0.6023, allocations: 162.5 kB / 0.737 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.6045, allocations: 496.2 kB / 0.7375 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.6069, allocations: 0.798 MB / 0.7382 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.6086, allocations: 1.207 MB / 0.7394 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.6098, allocations: 0.7133 MB / 0.7401 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.6105, allocations: 462.3 kB / 0.7406 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.611, allocations: 497.8 kB / 0.741 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.6112, allocations: 120 kB / 0.7412 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.612, allocations: 479.6 kB / 0.7416 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.6123, allocations: 295.1 kB / 0.7419 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.6127, allocations: 0.5362 MB / 0.7424 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.6142, allocations: 1.577 MB / 0.744 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6143, allocations: 0 / 0.744 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6143, allocations: 0 / 0.744 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.6143, allocations: 0 / 0.744 GB, free: 8.02 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.002179/0.6165, allocations: 1.396 MB / 0.7453 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6165, allocations: 13.11 kB / 0.7453 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.6181, allocations: 295.2 kB / 0.7456 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.6193, allocations: 0.7539 MB / 0.7463 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.6194, allocations: 70 kB / 0.7464 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6195, allocations: 88 kB / 0.7465 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.6212, allocations: 1.003 MB / 0.7475 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6212, allocations: 7.938 kB / 0.7475 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.6213, allocations: 39.94 kB / 0.7475 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.6214, allocations: 20 kB / 0.7475 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.6235, allocations: 1.225 MB / 0.7487 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.6273, allocations: 2.547 MB / 0.7512 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3738/1.001, allocations: 0.9267 MB / 0.7521 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/1.002, allocations: 334.8 kB / 0.7525 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/1.002, allocations: 32.34 kB / 0.7525 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.003, allocations: 495.1 kB / 0.753 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.494e-06/1.003, allocations: 1 kB / 0.753 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003534/1.007, allocations: 1.233 MB / 0.7542 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.007, allocations: 190.3 kB / 0.7543 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/1.008, allocations: 0.597 MB / 0.7549 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/1.008, allocations: 43.52 kB / 0.755 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/1.008, allocations: 400.7 kB / 0.7553 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.008, allocations: 251.1 kB / 0.7556 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/1.008, allocations: 155.2 kB / 0.7557 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.008, allocations: 379.3 kB / 0.7561 GB, free: 163 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/1.009, allocations: 292.6 kB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/1.01, allocations: 385.3 kB / 0.7567 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/1.012, allocations: 0.6511 MB / 0.7574 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.012, allocations: 0 / 0.7574 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002307/1.014, allocations: 0.8898 MB / 0.7582 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.014, allocations: 9.219 kB / 0.7583 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.014, allocations: 1.031 kB / 0.7583 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/1.015, allocations: 82.27 kB / 0.7583 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/1.015, allocations: 173.9 kB / 0.7585 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/1.017, allocations: 1.631 MB / 0.7601 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/1.018, allocations: 97.55 kB / 0.7602 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/1.018, allocations: 33.42 kB / 0.7602 GB, free: 160.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.0003693/1.018, allocations: 270.3 kB / 0.7605 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.019, allocations: 80.59 kB / 0.7606 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/1.021, allocations: 1.105 MB / 0.7616 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/1.021, allocations: 15.64 kB / 0.7616 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.021, allocations: 4 kB / 0.7617 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.021, allocations: 5.203 kB / 0.7617 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/1.024, allocations: 2.029 MB / 0.7636 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.025, allocations: 1.062 kB / 0.7636 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/1.025, allocations: 167.3 kB / 0.7638 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/1.026, allocations: 68.56 kB / 0.7639 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.026, allocations: 24.39 kB / 0.7639 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/1.027, allocations: 1.653 MB / 0.7655 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.027, allocations: 0 / 0.7655 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/1.029, allocations: 1.03 MB / 0.7665 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/1.029, allocations: 259 kB / 0.7668 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.029, allocations: 17.09 kB / 0.7668 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/1.03, allocations: 77.08 kB / 0.7668 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.03, allocations: 60.59 kB / 0.7669 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/1.03, allocations: 34.42 kB / 0.7669 GB, free: 156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004195/1.031, allocations: 438.7 kB / 0.7674 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.031, allocations: 0 / 0.7674 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000711/1.031, allocations: 313.3 kB / 0.7677 GB, free: 155.3 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.001186/1.033, allocations: 0.6055 MB / 0.7682 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.034, allocations: 0.8696 MB / 0.7691 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.034, allocations: 0 / 0.7691 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008913/1.035, allocations: 0.5392 MB / 0.7696 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/1.036, allocations: 277.3 kB / 0.7699 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/1.039, allocations: 1.778 MB / 0.7716 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.04, allocations: 1.023 MB / 0.7726 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006357/1.04, allocations: 266.3 kB / 0.7729 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.041, allocations: 103.4 kB / 0.773 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.041, allocations: 3.938 kB / 0.773 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01778/1.058, allocations: 14.39 MB / 0.787 GB, free: 135.9 MB / 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)