Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_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.001362/0.001362, allocations: 99.55 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.001625/0.001625, 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.765/1.765, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.137/1.137, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004971, allocations: 8 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7698, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005516/0.7754, allocations: 3.542 MB / 0.5864 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2226/0.9981, allocations: 127.5 MB / 0.7109 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.9993, allocations: 19.88 kB / 0.7109 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.9999, allocations: 67.41 kB / 0.711 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/1.003, allocations: 461 kB / 0.7114 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/1.005, allocations: 0.6134 MB / 0.712 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001961/1.007, allocations: 0.752 MB / 0.7128 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/1.009, allocations: 0.558 MB / 0.7133 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/1.009, allocations: 306.6 kB / 0.7136 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/1.01, allocations: 310.2 kB / 0.7139 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/1.01, allocations: 24 kB / 0.7139 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/1.011, allocations: 303.6 kB / 0.7142 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/1.012, allocations: 175.2 kB / 0.7144 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/1.012, allocations: 193.1 kB / 0.7146 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/1.014, allocations: 1.134 MB / 0.7157 GB, free: 8.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.014, allocations: 7.875 kB / 0.7157 GB, free: 8.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.926e-06/1.014, allocations: 0 / 0.7157 GB, free: 8.371 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.828e-05/1.014, allocations: 0 / 0.7157 GB, free: 8.371 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.003309/1.017, allocations: 1.186 MB / 0.7168 GB, free: 7.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/1.017, allocations: 12.03 kB / 0.7168 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/1.018, allocations: 139.7 kB / 0.717 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/1.02, allocations: 314.3 kB / 0.7173 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/1.022, allocations: 0.7069 MB / 0.718 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/1.022, allocations: 66 kB / 0.718 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.022, allocations: 88 kB / 0.7181 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/1.026, allocations: 1.003 MB / 0.7191 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/1.026, allocations: 0 / 0.7191 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.026, allocations: 36 kB / 0.7191 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/1.026, allocations: 27.95 kB / 0.7191 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/1.029, allocations: 1.225 MB / 0.7203 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/1.036, allocations: 2.595 MB / 0.7229 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/1.04, allocations: 0.9389 MB / 0.7238 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.041, allocations: 32.69 kB / 0.7238 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/1.042, allocations: 491.1 kB / 0.7243 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 4.068e-06/1.042, allocations: 0 / 0.7243 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.005673/1.048, allocations: 1.245 MB / 0.7255 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.048, allocations: 192.6 kB / 0.7257 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.049, allocations: 0.5901 MB / 0.7263 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.05, allocations: 37.7 kB / 0.7263 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/1.05, allocations: 408.2 kB / 0.7267 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/1.05, allocations: 256.3 kB / 0.7269 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/1.051, allocations: 8 kB / 0.7269 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.051, allocations: 390.7 kB / 0.7273 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/1.052, allocations: 269.1 kB / 0.7276 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.053, allocations: 374.7 kB / 0.7279 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.054, allocations: 311.1 kB / 0.7282 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.054, allocations: 0 / 0.7282 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003733/1.058, allocations: 0.829 MB / 0.729 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.058, allocations: 7.938 kB / 0.729 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.058, allocations: 0 / 0.729 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009182/1.059, allocations: 88.86 kB / 0.7291 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.061, allocations: 167.8 kB / 0.7293 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/1.064, allocations: 1.536 MB / 0.7308 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.065, allocations: 104.5 kB / 0.7309 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.065, allocations: 27.98 kB / 0.7309 GB, free: 8.219 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 (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.0007587/1.066, allocations: 257.7 kB / 0.7312 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/1.066, allocations: 83.05 kB / 0.7312 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/1.071, allocations: 1.112 MB / 0.7323 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.071, allocations: 12 kB / 0.7323 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.071, allocations: 3.938 kB / 0.7323 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.071, allocations: 3.984 kB / 0.7323 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/1.077, allocations: 2.047 MB / 0.7343 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.077, allocations: 0 / 0.7343 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.078, allocations: 175.8 kB / 0.7345 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/1.079, allocations: 84.77 kB / 0.7346 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/1.079, allocations: 23.98 kB / 0.7346 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/1.082, allocations: 1.552 MB / 0.7361 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.082, allocations: 3.953 kB / 0.7361 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/1.086, allocations: 1.023 MB / 0.7371 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/1.087, allocations: 279.7 kB / 0.7374 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.087, allocations: 16 kB / 0.7374 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.088, allocations: 83.92 kB / 0.7375 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.089, allocations: 68.91 kB / 0.7376 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.089, allocations: 31.98 kB / 0.7376 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008915/1.09, allocations: 431 kB / 0.738 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.09, allocations: 0 / 0.738 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00142/1.091, allocations: 311 kB / 0.7383 GB, free: 408 kB / 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.006076/1.097, allocations: 2.048 MB / 0.7403 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003358/1.101, allocations: 0.8449 MB / 0.7411 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.101, allocations: 4 kB / 0.7411 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/1.102, allocations: 0.5354 MB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.104, allocations: 240.7 kB / 0.7419 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.12, allocations: 5.456 MB / 0.7472 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/1.121, allocations: 1.054 MB / 0.7482 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001001/1.122, allocations: 269.8 kB / 0.7485 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/1.123, allocations: 387.3 kB / 0.7489 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of SimCode: time 2.825e-06/1.123, allocations: 0 / 0.7489 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/1.164, allocations: 20.63 MB / 0.769 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00039/1.164, allocations: 275.8 kB / 0.7693 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.265/4.429, allocations: 5.469 kB / 0.7693 GB, free: 1.094 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: