Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001594/0.001594, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.754/1.754, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8477/0.8477, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 15.94 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5906, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00531/0.596, allocations: 3.532 MB / 0.5864 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1848/0.7808, allocations: 127.5 MB / 0.7109 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.7818, allocations: 19.88 kB / 0.7109 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.7822, allocations: 71.34 kB / 0.711 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.7841, allocations: 461.3 kB / 0.7115 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.7861, allocations: 0.6178 MB / 0.7121 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.7877, allocations: 0.7519 MB / 0.7128 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.7885, allocations: 0.5343 MB / 0.7133 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.7891, allocations: 318.6 kB / 0.7136 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.7896, allocations: 302.3 kB / 0.7139 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.7897, allocations: 20 kB / 0.7139 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.7906, allocations: 327.6 kB / 0.7142 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.7908, allocations: 167.2 kB / 0.7144 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.791, allocations: 193.1 kB / 0.7146 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.7923, allocations: 1.142 MB / 0.7157 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.7924, allocations: 0 / 0.7157 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7924, allocations: 4 kB / 0.7157 GB, free: 8.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.7924, allocations: 0 / 0.7157 GB, free: 8.324 MB / 0.545 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.002115/0.7945, allocations: 1.186 MB / 0.7169 GB, free: 7.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.7946, allocations: 8.031 kB / 0.7169 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.7947, allocations: 139.6 kB / 0.717 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.7959, allocations: 214.4 kB / 0.7172 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.797, allocations: 0.707 MB / 0.7179 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.797, allocations: 70 kB / 0.718 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.7972, allocations: 84 kB / 0.718 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.7988, allocations: 0.9456 MB / 0.719 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.7988, allocations: 0 / 0.719 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.7989, allocations: 36 kB / 0.719 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.799, allocations: 20 kB / 0.719 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.8008, allocations: 1.132 MB / 0.7201 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.8051, allocations: 2.595 MB / 0.7227 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.8066, allocations: 0.8254 MB / 0.7235 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.8074, allocations: 470.2 kB / 0.7239 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008565/0.8083, allocations: 439.4 kB / 0.7243 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.8083, allocations: 0 / 0.7243 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.00304/0.8113, allocations: 1.109 MB / 0.7254 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.8115, allocations: 188.6 kB / 0.7256 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.8124, allocations: 0.6017 MB / 0.7262 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.8125, allocations: 41.7 kB / 0.7262 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.8129, allocations: 404.1 kB / 0.7266 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.8131, allocations: 244.5 kB / 0.7268 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.8132, allocations: 8 kB / 0.7268 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.8134, allocations: 382.8 kB / 0.7272 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.8139, allocations: 225.2 kB / 0.7274 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.8144, allocations: 322.8 kB / 0.7277 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.815, allocations: 271.1 kB / 0.728 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.815, allocations: 0 / 0.728 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001796/0.8168, allocations: 0.7431 MB / 0.7287 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.8169, allocations: 4.094 kB / 0.7287 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8169, allocations: 3.938 kB / 0.7287 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.8175, allocations: 84.86 kB / 0.7288 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.8182, allocations: 143.8 kB / 0.7289 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.8206, allocations: 1.528 MB / 0.7304 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.8213, allocations: 91.48 kB / 0.7305 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.8214, allocations: 35.97 kB / 0.7306 GB, free: 8.484 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.00063/0.822, allocations: 255.4 kB / 0.7308 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.8221, allocations: 83.05 kB / 0.7309 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.8246, allocations: 1.01 MB / 0.7319 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.8246, allocations: 8 kB / 0.7319 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8246, allocations: 3.953 kB / 0.7319 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8246, allocations: 3.984 kB / 0.7319 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.8281, allocations: 1.907 MB / 0.7337 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8281, allocations: 0 / 0.7337 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.8287, allocations: 143.8 kB / 0.7339 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/0.8292, allocations: 84.77 kB / 0.734 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.8293, allocations: 23.98 kB / 0.734 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.8311, allocations: 1.567 MB / 0.7355 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8311, allocations: 0 / 0.7355 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.8331, allocations: 0.922 MB / 0.7364 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.8335, allocations: 279.7 kB / 0.7367 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8337, allocations: 16 kB / 0.7367 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.8342, allocations: 63.94 kB / 0.7368 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8344, allocations: 68.88 kB / 0.7368 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.8345, allocations: 31.97 kB / 0.7369 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006079/0.8351, allocations: 435 kB / 0.7373 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8351, allocations: 3.938 kB / 0.7373 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001007/0.8361, allocations: 303.2 kB / 0.7376 GB, free: 1.051 MB / 0.5606 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.003658/0.8398, allocations: 1.973 MB / 0.7395 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.8415, allocations: 0.7356 MB / 0.7402 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.8415, allocations: 4 kB / 0.7402 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.8425, allocations: 0.5002 MB / 0.7407 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.8436, allocations: 229.2 kB / 0.7409 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.8541, allocations: 5.249 MB / 0.746 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.8549, allocations: 1.039 MB / 0.7471 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001076/0.856, allocations: 254.3 kB / 0.7473 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.8566, allocations: 367.3 kB / 0.7476 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of SimCode: time 1.873e-06/0.8566, allocations: 0 / 0.7476 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.9057, allocations: 20.38 MB / 0.7675 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.906, allocations: 275.7 kB / 0.7678 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.841, allocations: 3.938 kB / 0.7678 GB, free: 2.496 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: