Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006592/0.006593, allocations: 169.6 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 406.9 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 98.97 kB / 490 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 11.98 kB / 0.5691 GB, free: 14.22 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5039, allocations: 82.3 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/6.103, allocations: 1.694 GB / 2.344 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004902/6.103, allocations: 94.23 kB / 2.344 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1472/6.251, allocations: 68.38 MB / 2.411 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.108e-06/6.251, allocations: 0 / 2.411 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.091e-05/6.251, allocations: 31.47 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002189/6.253, allocations: 1.231 MB / 2.412 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/6.253, allocations: 7.906 kB / 2.412 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/6.254, allocations: 211.9 kB / 2.412 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/6.255, allocations: 0.6327 MB / 2.413 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/6.255, allocations: 69.31 kB / 2.413 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/6.255, allocations: 83.69 kB / 2.413 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/6.257, allocations: 0.9539 MB / 2.414 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/6.257, allocations: 0 / 2.414 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/6.257, allocations: 43.25 kB / 2.414 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/6.257, allocations: 23.25 kB / 2.414 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/6.258, allocations: 1.135 MB / 2.415 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/6.262, allocations: 2.581 MB / 2.418 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/6.263, allocations: 0.834 MB / 2.418 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/6.264, allocations: 467 kB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006986/6.264, allocations: 444.9 kB / 2.419 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.317e-06/6.264, allocations: 0 / 2.419 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002887/6.267, allocations: 1.127 MB / 2.42 GB, free: 166 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/6.267, allocations: 242.1 kB / 2.421 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/6.268, allocations: 0.598 MB / 2.421 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/6.268, allocations: 40.83 kB / 2.421 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/6.268, allocations: 405.1 kB / 2.422 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/6.269, allocations: 241.6 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/6.269, allocations: 18.06 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/6.269, allocations: 383.3 kB / 2.422 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/6.269, allocations: 228.9 kB / 2.422 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/6.27, allocations: 330.7 kB / 2.423 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/6.27, allocations: 278.8 kB / 2.423 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/6.27, allocations: 0 / 2.423 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001534/6.272, allocations: 0.7375 MB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/6.272, allocations: 3.906 kB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/6.272, allocations: 4.062 kB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/6.272, allocations: 80.42 kB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/6.273, allocations: 142.5 kB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/6.275, allocations: 1.527 MB / 2.425 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/6.275, allocations: 88.59 kB / 2.426 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/6.275, allocations: 22.98 kB / 2.426 GB, free: 162.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0004977/6.276, allocations: 261.4 kB / 2.426 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/6.276, allocations: 77.28 kB / 2.426 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/6.278, allocations: 1.024 MB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/6.278, allocations: 7.625 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/6.278, allocations: 3.953 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/6.278, allocations: 3.984 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/6.282, allocations: 1.958 MB / 2.429 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/6.282, allocations: 0 / 2.429 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/6.282, allocations: 148.5 kB / 2.429 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/6.283, allocations: 81.97 kB / 2.429 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/6.283, allocations: 23.64 kB / 2.429 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/6.285, allocations: 1.567 MB / 2.431 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/6.285, allocations: 0 / 2.431 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/6.287, allocations: 0.9354 MB / 2.431 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/6.287, allocations: 284.2 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/6.287, allocations: 13.66 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/6.288, allocations: 69.88 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/6.288, allocations: 65.8 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/6.288, allocations: 33.77 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007429/6.289, allocations: 490.7 kB / 2.432 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.289, allocations: 0 / 2.432 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001632/6.29, allocations: 387 kB / 2.433 GB, free: 159.3 MB / 0.6823 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 (84): * Single equations (assignments): 81 * 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.002259/6.293, allocations: 1.081 MB / 2.434 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001744/6.294, allocations: 0.7394 MB / 2.435 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/6.294, allocations: 8.062 kB / 2.435 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/6.295, allocations: 0.491 MB / 2.435 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/6.297, allocations: 237.8 kB / 2.435 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/6.301, allocations: 2.169 MB / 2.437 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/6.301, allocations: 1.039 MB / 2.438 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000958/6.302, allocations: 258 kB / 2.439 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/6.302, allocations: 95.39 kB / 2.439 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/6.302, allocations: 0 / 2.439 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03303/6.335, allocations: 20.63 MB / 2.459 GB, free: 135.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)