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.00567/0.00567, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001555/0.001555, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 290 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 100.2 kB / 0.6943 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4597, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007003/0.4667, allocations: 5.17 MB / 0.7864 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.6448, allocations: 150.7 MB / 0.9335 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.6459, allocations: 19.94 kB / 0.9335 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.6467, allocations: 198.1 kB / 0.9337 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.6496, allocations: 0.5665 MB / 0.9343 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.6521, allocations: 0.8525 MB / 0.9351 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.6541, allocations: 1.464 MB / 0.9365 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.6551, allocations: 0.6648 MB / 0.9372 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.6559, allocations: 0.5217 MB / 0.9377 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.6566, allocations: 0.5562 MB / 0.9382 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.6569, allocations: 124 kB / 0.9384 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.6579, allocations: 0.4918 MB / 0.9388 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.6582, allocations: 319 kB / 0.9391 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006143/0.6588, allocations: 0.6103 MB / 0.9397 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.661, allocations: 1.763 MB / 0.9415 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.661, allocations: 0 / 0.9415 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.403e-06/0.661, allocations: 0 / 0.9415 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6611, allocations: 0 / 0.9415 GB, free: 10.68 MB / 0.7012 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.002804/0.6639, allocations: 1.56 MB / 0.943 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6639, allocations: 8.031 kB / 0.943 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.6641, allocations: 148.3 kB / 0.9431 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.6659, allocations: 315.9 kB / 0.9434 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.6671, allocations: 0.7932 MB / 0.9442 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.6672, allocations: 70 kB / 0.9443 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6674, allocations: 96 kB / 0.9444 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.6695, allocations: 1.07 MB / 0.9454 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6695, allocations: 0 / 0.9454 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6696, allocations: 44 kB / 0.9455 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6697, allocations: 20 kB / 0.9455 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.6724, allocations: 1.272 MB / 0.9467 GB, free: 5.16 MB / 0.7012 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.005004/0.6774, allocations: 2.971 MB / 0.9496 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.6803, allocations: 1.027 MB / 0.9506 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008657/0.6811, allocations: 358.6 kB / 0.951 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6812, allocations: 38.48 kB / 0.951 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.6825, allocations: 0.5549 MB / 0.9515 GB, free: 56 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.6825, allocations: 0 / 0.9515 GB, free: 56 kB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004323/0.6868, allocations: 1.392 MB / 0.9529 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.687, allocations: 192.9 kB / 0.9531 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.688, allocations: 0.6371 MB / 0.9537 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.6881, allocations: 45.7 kB / 0.9537 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.6885, allocations: 436.9 kB / 0.9542 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.6888, allocations: 293.6 kB / 0.9544 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.6891, allocations: 146.6 kB / 0.9546 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000267/0.6894, allocations: 390.8 kB / 0.955 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/0.6902, allocations: 305.8 kB / 0.9552 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.6911, allocations: 418.5 kB / 0.9556 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.6929, allocations: 0.6906 MB / 0.9563 GB, free: 11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6929, allocations: 0 / 0.9563 GB, free: 11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002606/0.6955, allocations: 0.9272 MB / 0.9572 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6955, allocations: 4 kB / 0.9572 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6955, allocations: 7.984 kB / 0.9572 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.6962, allocations: 76.88 kB / 0.9573 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.697, allocations: 175.8 kB / 0.9575 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.6994, allocations: 1.639 MB / 0.9591 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.7003, allocations: 107.6 kB / 0.9592 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.7004, allocations: 31.97 kB / 0.9592 GB, free: 7.887 MB / 0.7169 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.000494/0.7009, allocations: 270.2 kB / 0.9595 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.7011, allocations: 87.44 kB / 0.9596 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.7043, allocations: 1.206 MB / 0.9607 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7044, allocations: 8 kB / 0.9607 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7044, allocations: 4 kB / 0.9607 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.7044, allocations: 11.98 kB / 0.9608 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.7086, allocations: 2.149 MB / 0.9629 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7087, allocations: 0 / 0.9629 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.7095, allocations: 163.8 kB / 0.963 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.71, allocations: 76.78 kB / 0.9631 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.71, allocations: 27.97 kB / 0.9631 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.7123, allocations: 1.666 MB / 0.9647 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7123, allocations: 3.938 kB / 0.9647 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.7152, allocations: 1.123 MB / 0.9658 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.7156, allocations: 288.1 kB / 0.9661 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.7158, allocations: 24 kB / 0.9661 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.7166, allocations: 87.06 kB / 0.9662 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.7168, allocations: 72.84 kB / 0.9663 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.7169, allocations: 35.97 kB / 0.9663 GB, free: 344 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007247/0.7176, allocations: 471 kB / 0.9668 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7176, allocations: 0 / 0.9668 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001002/0.7186, allocations: 347.1 kB / 0.9671 GB, free: 15.54 MB / 0.7325 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.00494/0.7236, allocations: 2.182 MB / 0.9692 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.7261, allocations: 0.9172 MB / 0.9701 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7261, allocations: 0 / 0.9701 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.7275, allocations: 0.5822 MB / 0.9707 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.7291, allocations: 315.3 kB / 0.971 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.7419, allocations: 6.766 MB / 0.9776 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.7426, allocations: 1.047 MB / 0.9786 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008804/0.7435, allocations: 274.9 kB / 0.9789 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/0.7442, allocations: 423.2 kB / 0.9793 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of SimCode: time 4.047e-06/0.7442, allocations: 0 / 0.9793 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05811/0.8023, allocations: 22.71 MB / 1.001 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.47, allocations: 6.422 kB / 1.001 GB, free: 12.71 MB / 0.7637 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)