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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001521/0.001521, allocations: 195.8 kB / 17.31 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7818/0.7818, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.405, allocations: 80.91 MB / 0.5858 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005638/0.4107, allocations: 4.186 MB / 0.5899 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.168/0.5787, allocations: 150.5 MB / 0.7369 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.58, allocations: 19.88 kB / 0.7369 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.5807, allocations: 170.5 kB / 0.7371 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.5827, allocations: 476.5 kB / 0.7375 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.585, allocations: 0.8218 MB / 0.7383 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.5865, allocations: 1.203 MB / 0.7395 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009943/0.5875, allocations: 0.6923 MB / 0.7402 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.5882, allocations: 458.4 kB / 0.7406 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.5887, allocations: 489.8 kB / 0.7411 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.5889, allocations: 112 kB / 0.7412 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.59, allocations: 0.4917 MB / 0.7417 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.5903, allocations: 287.1 kB / 0.7419 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.5908, allocations: 0.5362 MB / 0.7424 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5926, allocations: 1.577 MB / 0.744 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5926, allocations: 8 kB / 0.744 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5926, allocations: 0 / 0.744 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.5927, allocations: 0 / 0.744 GB, free: 8.137 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002315/0.595, allocations: 1.392 MB / 0.7454 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.595, allocations: 13.05 kB / 0.7454 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.5961, allocations: 207.4 kB / 0.7456 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5973, allocations: 0.7461 MB / 0.7463 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.5974, allocations: 66 kB / 0.7464 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5975, allocations: 88 kB / 0.7464 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.599, allocations: 0.9496 MB / 0.7474 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.599, allocations: 0 / 0.7474 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.5991, allocations: 43.98 kB / 0.7474 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5992, allocations: 20 kB / 0.7474 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.6009, allocations: 1.128 MB / 0.7485 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.6047, allocations: 2.523 MB / 0.751 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3595/0.9642, allocations: 0.8127 MB / 0.7518 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008414/0.9651, allocations: 287.1 kB / 0.7521 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.9658, allocations: 474.2 kB / 0.7525 GB, free: 165 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.9669, allocations: 434.5 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.436e-06/0.9669, allocations: 0.6875 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003068/0.97, allocations: 1.099 MB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.9701, allocations: 189 kB / 0.7542 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.9709, allocations: 0.6034 MB / 0.7548 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.971, allocations: 37.92 kB / 0.7548 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.9713, allocations: 405.5 kB / 0.7552 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.9716, allocations: 244.1 kB / 0.7554 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.9718, allocations: 150.5 kB / 0.7556 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.972, allocations: 387.8 kB / 0.7559 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.9725, allocations: 242.2 kB / 0.7562 GB, free: 163 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.9731, allocations: 338.8 kB / 0.7565 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9742, allocations: 0.5661 MB / 0.757 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9743, allocations: 2.297 kB / 0.757 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002068/0.9763, allocations: 0.7919 MB / 0.7578 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9764, allocations: 10.78 kB / 0.7578 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9764, allocations: 1.531 kB / 0.7578 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.977, allocations: 83.5 kB / 0.7579 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.9777, allocations: 149.9 kB / 0.7581 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.9794, allocations: 1.628 MB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.9801, allocations: 81.77 kB / 0.7597 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.9802, allocations: 37.22 kB / 0.7598 GB, free: 160.7 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 (84): * Single equations (assignments): 83 * 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.0004566/0.9807, allocations: 262.9 kB / 0.76 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.9809, allocations: 76 kB / 0.7601 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.9833, allocations: 0.9888 MB / 0.761 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.9834, allocations: 8.938 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9834, allocations: 1.938 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.9834, allocations: 7.922 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.9867, allocations: 1.899 MB / 0.7629 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9867, allocations: 5.375 kB / 0.7629 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.9873, allocations: 146 kB / 0.7631 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.9877, allocations: 73.75 kB / 0.7631 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.9878, allocations: 20.3 kB / 0.7632 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.9893, allocations: 1.659 MB / 0.7648 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9893, allocations: 1.344 kB / 0.7648 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.9913, allocations: 0.9249 MB / 0.7657 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.9917, allocations: 259 kB / 0.7659 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.9918, allocations: 16.22 kB / 0.7659 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.9924, allocations: 55.56 kB / 0.766 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.9925, allocations: 65.44 kB / 0.7661 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.9926, allocations: 25.55 kB / 0.7661 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004992/0.9931, allocations: 442.8 kB / 0.7665 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9931, allocations: 0 / 0.7665 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009854/0.9941, allocations: 321.7 kB / 0.7668 GB, free: 156.1 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 (84): * Single equations (assignments): 81 * 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.001484/0.9956, allocations: 0.613 MB / 0.7674 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.9971, allocations: 0.7741 MB / 0.7682 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9971, allocations: 7.938 kB / 0.7682 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.9978, allocations: 492.1 kB / 0.7686 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.9989, allocations: 292.2 kB / 0.7689 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/1.002, allocations: 1.715 MB / 0.7706 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/1.002, allocations: 1.014 MB / 0.7716 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006842/1.003, allocations: 256.6 kB / 0.7718 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.003, allocations: 103.3 kB / 0.7719 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.003, allocations: 0 / 0.7719 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01902/1.022, allocations: 14.18 MB / 0.7858 GB, free: 137.4 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)