Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.001059/0.001059, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.001036/0.001036, allocations: 191.2 kB / 17.34 MB, free: 5.766 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 122.9 MB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.11 kB / 0.5679 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1172, allocations: 77.93 MB / 0.644 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006591/0.1239, allocations: 5.378 MB / 0.6493 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4462/0.5701, allocations: 150.8 MB / 0.7966 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.571, allocations: 19.88 kB / 0.7966 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.5717, allocations: 209.5 kB / 0.7968 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.5737, allocations: 0.575 MB / 0.7974 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.5759, allocations: 0.9536 MB / 0.7983 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.5779, allocations: 1.626 MB / 0.7999 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.579, allocations: 0.7489 MB / 0.8006 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008774/0.5799, allocations: 0.592 MB / 0.8012 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.5809, allocations: 0.6495 MB / 0.8018 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.5812, allocations: 142.5 kB / 0.802 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.5824, allocations: 0.5276 MB / 0.8025 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.5828, allocations: 360.3 kB / 0.8028 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.5836, allocations: 0.6729 MB / 0.8035 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.5856, allocations: 1.928 MB / 0.8054 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5856, allocations: 0 / 0.8054 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5856, allocations: 0 / 0.8054 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.192e-05/0.5856, allocations: 0 / 0.8054 GB, free: 11.38 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003156/0.5888, allocations: 1.726 MB / 0.8071 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5889, allocations: 11.56 kB / 0.8071 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.589, allocations: 166.8 kB / 0.8072 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.5944, allocations: 0.7596 MB / 0.808 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.5958, allocations: 0.8403 MB / 0.8088 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.5958, allocations: 85.73 kB / 0.8089 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.596, allocations: 104.6 kB / 0.809 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.5992, allocations: 1.434 MB / 0.8104 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5992, allocations: 0 / 0.8104 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.5994, allocations: 44.75 kB / 0.8104 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.5994, allocations: 31.5 kB / 0.8104 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/0.6039, allocations: 1.888 MB / 0.8123 GB, free: 8.531 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.006036/0.61, allocations: 3.511 MB / 0.8157 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.6134, allocations: 1.377 MB / 0.8171 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.6149, allocations: 0.5987 MB / 0.8177 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/0.6156, allocations: 483.5 kB / 0.8181 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.6175, allocations: 0.8084 MB / 0.8189 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 2.986e-06/0.6175, allocations: 0 / 0.8189 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.006173/0.6237, allocations: 1.982 MB / 0.8208 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6238, allocations: 195.6 kB / 0.821 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.6246, allocations: 0.6401 MB / 0.8216 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.6247, allocations: 48.52 kB / 0.8217 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.625, allocations: 460.3 kB / 0.8221 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.6253, allocations: 367.4 kB / 0.8225 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.6257, allocations: 191.5 kB / 0.8227 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6258, allocations: 399.2 kB / 0.823 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.6273, allocations: 495.6 kB / 0.8235 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.6289, allocations: 0.6033 MB / 0.8241 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.6319, allocations: 1.063 MB / 0.8251 GB, free: 384 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6319, allocations: 3.938 kB / 0.8251 GB, free: 380 kB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003899/0.6358, allocations: 1.329 MB / 0.8264 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6359, allocations: 6.875 kB / 0.8265 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6359, allocations: 0 / 0.8265 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.6365, allocations: 89.91 kB / 0.8265 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.6378, allocations: 263 kB / 0.8268 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.6398, allocations: 1.632 MB / 0.8284 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6411, allocations: 162.8 kB / 0.8285 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.6412, allocations: 43.28 kB / 0.8286 GB, free: 13.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (116): * Single equations (assignments): 115 * 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.0004933/0.6417, allocations: 285.5 kB / 0.8289 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.6419, allocations: 104.9 kB / 0.829 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/0.6465, allocations: 1.676 MB / 0.8306 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6465, allocations: 10.19 kB / 0.8306 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6465, allocations: 0 / 0.8306 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.6466, allocations: 6.734 kB / 0.8306 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005646/0.6522, allocations: 2.818 MB / 0.8334 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6522, allocations: 2.438 kB / 0.8334 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.6535, allocations: 250.9 kB / 0.8336 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.654, allocations: 74.84 kB / 0.8337 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.6541, allocations: 34.41 kB / 0.8337 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.656, allocations: 1.666 MB / 0.8353 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.656, allocations: 3.938 kB / 0.8353 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.6601, allocations: 1.529 MB / 0.8368 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.6607, allocations: 327.9 kB / 0.8371 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.6609, allocations: 27.92 kB / 0.8372 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.6621, allocations: 119.9 kB / 0.8373 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.6623, allocations: 90.47 kB / 0.8374 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/0.6624, allocations: 47.95 kB / 0.8374 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006124/0.663, allocations: 475 kB / 0.8379 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6631, allocations: 0 / 0.8379 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001042/0.6641, allocations: 399 kB / 0.8382 GB, free: 5.941 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 (122): * Single equations (assignments): 116 * 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.00588/0.67, allocations: 2.617 MB / 0.8408 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003977/0.674, allocations: 1.37 MB / 0.8421 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.674, allocations: 0 / 0.8421 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.6761, allocations: 0.8163 MB / 0.8429 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6776, allocations: 320.7 kB / 0.8432 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.6945, allocations: 8.229 MB / 0.8513 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.6951, allocations: 1.088 MB / 0.8523 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001292/0.6964, allocations: 339.8 kB / 0.8527 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.6972, allocations: 467.2 kB / 0.8531 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.6972, allocations: 0 / 0.8531 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.7502, allocations: 25.57 MB / 0.8781 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.21, allocations: 11.8 kB / 0.8781 GB, free: 13.52 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)