Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_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.001142/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 286.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8985/0.8985, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 93.8 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1364, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006473/0.1429, allocations: 4.408 MB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4069/0.5498, allocations: 150.6 MB / 0.8316 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.5504, allocations: 16.09 kB / 0.8317 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.5508, allocations: 176 kB / 0.8318 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.552, allocations: 0.5023 MB / 0.8323 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.5533, allocations: 0.8408 MB / 0.8331 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000807/0.5541, allocations: 1.327 MB / 0.8344 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007063/0.5549, allocations: 0.7054 MB / 0.8351 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.5553, allocations: 0.5043 MB / 0.8356 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.5557, allocations: 0.5366 MB / 0.8361 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5559, allocations: 130.6 kB / 0.8363 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.5565, allocations: 476 kB / 0.8367 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.5567, allocations: 317.8 kB / 0.837 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.5571, allocations: 0.5906 MB / 0.8376 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5583, allocations: 1.667 MB / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5583, allocations: 1.281 kB / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5583, allocations: 7.844 kB / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.5583, allocations: 0 / 0.8392 GB, free: 15.8 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002163/0.5605, allocations: 1.494 MB / 0.8407 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.5605, allocations: 11.59 kB / 0.8407 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.5607, allocations: 149.4 kB / 0.8409 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.5623, allocations: 302 kB / 0.8411 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.5632, allocations: 0.77 MB / 0.8419 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.5633, allocations: 76.36 kB / 0.842 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5634, allocations: 92.62 kB / 0.8421 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.5651, allocations: 1.062 MB / 0.8431 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5651, allocations: 4.469 kB / 0.8431 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.5652, allocations: 45.59 kB / 0.8431 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.5653, allocations: 23 kB / 0.8432 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.5674, allocations: 1.272 MB / 0.8444 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.5713, allocations: 2.729 MB / 0.8471 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.5737, allocations: 1.02 MB / 0.8481 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.5744, allocations: 361 kB / 0.8484 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/0.5745, allocations: 34.73 kB / 0.8484 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.5755, allocations: 0.5573 MB / 0.849 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.893e-06/0.5755, allocations: 2.406 kB / 0.849 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003548/0.579, allocations: 1.377 MB / 0.8503 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.5791, allocations: 195 kB / 0.8505 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.5798, allocations: 0.6368 MB / 0.8511 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.5799, allocations: 40.7 kB / 0.8512 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.5802, allocations: 430.5 kB / 0.8516 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.5804, allocations: 278.1 kB / 0.8519 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.5806, allocations: 149.8 kB / 0.852 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.5809, allocations: 388.8 kB / 0.8524 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.5816, allocations: 303.5 kB / 0.8527 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/0.5825, allocations: 413.6 kB / 0.8531 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.584, allocations: 0.6848 MB / 0.8537 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.584, allocations: 0 / 0.8537 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002198/0.5862, allocations: 0.9169 MB / 0.8546 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5862, allocations: 7.438 kB / 0.8546 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5862, allocations: 3.562 kB / 0.8546 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.5868, allocations: 81.59 kB / 0.8547 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.5876, allocations: 178.6 kB / 0.8549 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.5895, allocations: 1.634 MB / 0.8565 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.5904, allocations: 107.3 kB / 0.8566 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.5904, allocations: 36.34 kB / 0.8566 GB, free: 4.836 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0004211/0.5909, allocations: 267 kB / 0.8569 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.591, allocations: 86.94 kB / 0.8569 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.5939, allocations: 1.219 MB / 0.8581 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.594, allocations: 7.531 kB / 0.8581 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.594, allocations: 1.906 kB / 0.8581 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.594, allocations: 7.969 kB / 0.8582 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.598, allocations: 2.153 MB / 0.8603 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.598, allocations: 3.984 kB / 0.8603 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.5988, allocations: 169 kB / 0.8604 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.5992, allocations: 74.69 kB / 0.8605 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.5993, allocations: 23.58 kB / 0.8605 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.6011, allocations: 1.669 MB / 0.8621 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6011, allocations: 0 / 0.8621 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.6035, allocations: 1.117 MB / 0.8632 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.6039, allocations: 286.5 kB / 0.8635 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6041, allocations: 21.7 kB / 0.8635 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/0.6049, allocations: 80.55 kB / 0.8636 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.605, allocations: 77.58 kB / 0.8637 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/0.6051, allocations: 41.62 kB / 0.8637 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000531/0.6057, allocations: 466.1 kB / 0.8642 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6057, allocations: 0 / 0.8642 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008277/0.6065, allocations: 321.2 kB / 0.8645 GB, free: 15.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003687/0.6102, allocations: 2.179 MB / 0.8666 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.6129, allocations: 1.132 MB / 0.8677 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6129, allocations: 4 kB / 0.8677 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.614, allocations: 0.5852 MB / 0.8683 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6151, allocations: 287.6 kB / 0.8686 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.6268, allocations: 7.087 MB / 0.8755 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.6274, allocations: 1.043 MB / 0.8765 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008952/0.6283, allocations: 286.7 kB / 0.8768 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.6288, allocations: 423.3 kB / 0.8772 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.6289, allocations: 0 / 0.8772 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.615/2.244, allocations: 22.01 MB / 0.8987 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/16.46, allocations: 15.39 kB / 0.8987 GB, free: 0.8359 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)