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.001853/0.001853, 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.002039/0.002039, allocations: 196.9 kB / 16.53 MB, free: 6.699 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 280.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5073 GB, free: 4.617 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 101.7 kB / 0.6065 GB, free: 24.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.152, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007511/0.1595, allocations: 5.161 MB / 0.6986 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4175/0.577, allocations: 150.7 MB / 0.8458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.5778, allocations: 18.88 kB / 0.8458 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.5783, allocations: 201.4 kB / 0.846 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5799, allocations: 0.569 MB / 0.8465 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.5817, allocations: 0.8496 MB / 0.8474 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.5831, allocations: 1.444 MB / 0.8488 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.584, allocations: 0.6644 MB / 0.8494 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.5846, allocations: 0.5168 MB / 0.8499 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.5852, allocations: 0.5549 MB / 0.8505 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.5854, allocations: 127.9 kB / 0.8506 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.5861, allocations: 477.6 kB / 0.8511 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.5864, allocations: 325.4 kB / 0.8514 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.587, allocations: 0.6104 MB / 0.852 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.5887, allocations: 1.707 MB / 0.8536 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5887, allocations: 0 / 0.8536 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5887, allocations: 7.688 kB / 0.8536 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5887, allocations: 0 / 0.8536 GB, free: 1.82 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.002598/0.5913, allocations: 1.507 MB / 0.8551 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5914, allocations: 10.69 kB / 0.8551 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.5916, allocations: 148.9 kB / 0.8553 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.5933, allocations: 310 kB / 0.8556 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.5943, allocations: 0.7724 MB / 0.8563 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.5944, allocations: 71.41 kB / 0.8564 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5945, allocations: 90.53 kB / 0.8565 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.5964, allocations: 1.073 MB / 0.8575 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5965, allocations: 6.641 kB / 0.8575 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5966, allocations: 35.75 kB / 0.8575 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.5966, allocations: 24.78 kB / 0.8576 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.5989, allocations: 1.274 MB / 0.8588 GB, free: 14.39 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/0.6035, allocations: 2.994 MB / 0.8617 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.6061, allocations: 1.029 MB / 0.8627 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.6069, allocations: 364.8 kB / 0.8631 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.607, allocations: 35.75 kB / 0.8631 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.6082, allocations: 0.5576 MB / 0.8637 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.304e-06/0.6082, allocations: 0 / 0.8637 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003929/0.6122, allocations: 1.388 MB / 0.865 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6123, allocations: 191.6 kB / 0.8652 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.6131, allocations: 0.6383 MB / 0.8658 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.6132, allocations: 43.05 kB / 0.8659 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.6135, allocations: 433 kB / 0.8663 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.6137, allocations: 271.3 kB / 0.8665 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.614, allocations: 153.1 kB / 0.8667 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6142, allocations: 384.7 kB / 0.8671 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.6149, allocations: 304.2 kB / 0.8673 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.6158, allocations: 412.1 kB / 0.8677 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.6174, allocations: 0.6922 MB / 0.8684 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6174, allocations: 4 kB / 0.8684 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002369/0.6198, allocations: 0.9246 MB / 0.8693 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6198, allocations: 11.75 kB / 0.8693 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6198, allocations: 3.938 kB / 0.8693 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.6204, allocations: 84.86 kB / 0.8694 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.6213, allocations: 175.8 kB / 0.8696 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.6235, allocations: 1.628 MB / 0.8712 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.6243, allocations: 111.5 kB / 0.8713 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.6244, allocations: 35.97 kB / 0.8713 GB, free: 5.051 MB / 0.5919 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.0004365/0.6249, allocations: 270.1 kB / 0.8716 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.6251, allocations: 90.95 kB / 0.8717 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.6283, allocations: 1.208 MB / 0.8728 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6283, allocations: 12 kB / 0.8729 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6283, allocations: 0 / 0.8729 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.6284, allocations: 7.969 kB / 0.8729 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.6325, allocations: 2.136 MB / 0.8749 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6325, allocations: 0 / 0.8749 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.6333, allocations: 175.8 kB / 0.8751 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.6338, allocations: 72.78 kB / 0.8752 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.6339, allocations: 27.98 kB / 0.8752 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.636, allocations: 1.658 MB / 0.8768 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.636, allocations: 4 kB / 0.8768 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.6388, allocations: 1.121 MB / 0.8779 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.6392, allocations: 279.7 kB / 0.8782 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6393, allocations: 16 kB / 0.8782 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/0.6402, allocations: 84.75 kB / 0.8783 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.6403, allocations: 80.83 kB / 0.8784 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.6404, allocations: 35.98 kB / 0.8784 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006328/0.6411, allocations: 471 kB / 0.8789 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6411, allocations: 0 / 0.8789 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009108/0.642, allocations: 339 kB / 0.8792 GB, free: 12.74 MB / 0.6075 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.004817/0.6468, allocations: 2.172 MB / 0.8813 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.6501, allocations: 1.132 MB / 0.8824 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6501, allocations: 0 / 0.8824 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.6514, allocations: 0.5899 MB / 0.883 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6528, allocations: 319.8 kB / 0.8833 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.6655, allocations: 6.97 MB / 0.8901 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.6663, allocations: 1.051 MB / 0.8911 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009942/0.6673, allocations: 282.9 kB / 0.8914 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/0.6679, allocations: 419.3 kB / 0.8918 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.6679, allocations: 0 / 0.8918 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05842/0.7263, allocations: 22.46 MB / 0.9137 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.76, allocations: 7.641 kB / 0.9137 GB, free: 9.75 MB / 0.6387 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)