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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001271/0.001272, 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.001401/0.001401, allocations: 177.3 kB / 15.95 MB, free: 216 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.337/1.337, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.2 MB / 426.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 82.32 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004549/0.2024, allocations: 3.518 MB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5216/0.7241, allocations: 127.5 MB / 0.7152 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.7249, allocations: 18.16 kB / 0.7152 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.7253, allocations: 71.05 kB / 0.7153 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.727, allocations: 455.3 kB / 0.7157 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.7292, allocations: 0.6241 MB / 0.7163 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.7306, allocations: 0.7516 MB / 0.7171 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008744/0.7314, allocations: 0.5434 MB / 0.7176 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.732, allocations: 308.4 kB / 0.7179 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.7325, allocations: 307.5 kB / 0.7182 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.7326, allocations: 22.47 kB / 0.7182 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.7335, allocations: 309.2 kB / 0.7185 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.7337, allocations: 169.3 kB / 0.7187 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.7339, allocations: 188.3 kB / 0.7188 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.7354, allocations: 1.143 MB / 0.72 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7355, allocations: 0 / 0.72 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7355, allocations: 3.938 kB / 0.72 GB, free: 12.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.7355, allocations: 0 / 0.72 GB, free: 12.92 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002308/0.7378, allocations: 1.189 MB / 0.7211 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.7379, allocations: 10 kB / 0.7211 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.7381, allocations: 145 kB / 0.7213 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.7398, allocations: 307.8 kB / 0.7216 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.7411, allocations: 0.7053 MB / 0.7222 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.7412, allocations: 69.42 kB / 0.7223 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.7413, allocations: 87.06 kB / 0.7224 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.7434, allocations: 0.9992 MB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7434, allocations: 1.75 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.7435, allocations: 37.62 kB / 0.7234 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.7436, allocations: 22.25 kB / 0.7234 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.746, allocations: 1.228 MB / 0.7246 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.751, allocations: 2.606 MB / 0.7272 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.7535, allocations: 0.9451 MB / 0.7281 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.7536, allocations: 35.28 kB / 0.7281 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.7546, allocations: 495.6 kB / 0.7286 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=75): time 2.354e-06/0.7547, allocations: 0 / 0.7286 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=75): time 0.003462/0.7581, allocations: 1.243 MB / 0.7298 GB, free: 8.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.7583, allocations: 190.5 kB / 0.73 GB, free: 7.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.7591, allocations: 0.5893 MB / 0.7306 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/0.7592, allocations: 39.92 kB / 0.7306 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.7595, allocations: 410.3 kB / 0.731 GB, free: 7.348 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.7597, allocations: 252.5 kB / 0.7312 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.7598, allocations: 12.5 kB / 0.7313 GB, free: 7.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.76, allocations: 379.6 kB / 0.7316 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.7606, allocations: 278.2 kB / 0.7319 GB, free: 6.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.7613, allocations: 367.9 kB / 0.7322 GB, free: 6.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.762, allocations: 319.7 kB / 0.7325 GB, free: 6.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.762, allocations: 0 / 0.7325 GB, free: 6.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002044/0.7641, allocations: 0.8284 MB / 0.7334 GB, free: 6.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7641, allocations: 4 kB / 0.7334 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7641, allocations: 0 / 0.7334 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.7647, allocations: 86.69 kB / 0.7334 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.7655, allocations: 170.6 kB / 0.7336 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.7674, allocations: 1.52 MB / 0.7351 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.7681, allocations: 111.2 kB / 0.7352 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.7682, allocations: 30.28 kB / 0.7352 GB, free: 4.18 MB / 0.545 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 (78): * Single equations (assignments): 77 * 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.0004552/0.7687, allocations: 257.7 kB / 0.7355 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.7688, allocations: 83.06 kB / 0.7355 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.7714, allocations: 1.118 MB / 0.7366 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.7715, allocations: 12 kB / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7715, allocations: 0 / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.7715, allocations: 5.344 kB / 0.7367 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.7751, allocations: 2.04 MB / 0.7386 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.7751, allocations: 0 / 0.7386 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.7759, allocations: 171.8 kB / 0.7388 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.7764, allocations: 84.7 kB / 0.7389 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.7764, allocations: 27.98 kB / 0.7389 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7781, allocations: 1.555 MB / 0.7404 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7782, allocations: 0 / 0.7404 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.7804, allocations: 1.023 MB / 0.7414 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.7808, allocations: 279.7 kB / 0.7417 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.781, allocations: 19.95 kB / 0.7417 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/0.7817, allocations: 83.92 kB / 0.7418 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.7818, allocations: 68.91 kB / 0.7419 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.7819, allocations: 27.98 kB / 0.7419 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005527/0.7824, allocations: 435 kB / 0.7423 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.7825, allocations: 0 / 0.7423 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009611/0.7834, allocations: 307.1 kB / 0.7426 GB, free: 12.6 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 (88): * Single equations (assignments): 85 * 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.003675/0.7871, allocations: 2.063 MB / 0.7446 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.7891, allocations: 0.8407 MB / 0.7454 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7891, allocations: 0 / 0.7454 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.7901, allocations: 0.5393 MB / 0.746 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.7913, allocations: 240.2 kB / 0.7462 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.8027, allocations: 5.452 MB / 0.7515 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.8034, allocations: 1.043 MB / 0.7525 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009883/0.8043, allocations: 266.2 kB / 0.7528 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.8049, allocations: 387.3 kB / 0.7532 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.8049, allocations: 0 / 0.7532 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.8436, allocations: 20.64 MB / 0.7733 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.8438, allocations: 278.5 kB / 0.7736 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.166, allocations: 0 / 0.7736 GB, free: 13.25 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: