Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_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.004838/0.004838, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001222/0.001222, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 291.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8535/0.8535, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 99.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3376, allocations: 86.97 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00544/0.3431, allocations: 4.641 MB / 0.7704 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.48, allocations: 150.8 MB / 0.9176 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.4807, allocations: 19.94 kB / 0.9177 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.4813, allocations: 186.2 kB / 0.9178 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.483, allocations: 0.5235 MB / 0.9184 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.4849, allocations: 0.9317 MB / 0.9193 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4863, allocations: 1.5 MB / 0.9207 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.4873, allocations: 0.7976 MB / 0.9215 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006948/0.488, allocations: 0.5761 MB / 0.9221 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.4887, allocations: 0.6262 MB / 0.9227 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.4889, allocations: 148 kB / 0.9228 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.4897, allocations: 0.5269 MB / 0.9233 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.49, allocations: 362.8 kB / 0.9237 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.4905, allocations: 0.649 MB / 0.9243 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.4922, allocations: 1.881 MB / 0.9262 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4922, allocations: 0 / 0.9262 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4922, allocations: 0 / 0.9262 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.4922, allocations: 4 kB / 0.9262 GB, free: 15.09 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002774/0.495, allocations: 1.705 MB / 0.9278 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.495, allocations: 8.031 kB / 0.9278 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.4952, allocations: 173.1 kB / 0.928 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.5002, allocations: 0.7608 MB / 0.9287 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5013, allocations: 0.8401 MB / 0.9296 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.5014, allocations: 86.19 kB / 0.9296 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.5016, allocations: 104 kB / 0.9297 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.5045, allocations: 1.432 MB / 0.9311 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5046, allocations: 4 kB / 0.9311 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.5047, allocations: 48 kB / 0.9312 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.5047, allocations: 28 kB / 0.9312 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.5091, allocations: 1.882 MB / 0.9331 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.5145, allocations: 3.25 MB / 0.9362 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.5177, allocations: 1.365 MB / 0.9376 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.5192, allocations: 0.5998 MB / 0.9381 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.5198, allocations: 486.5 kB / 0.9386 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.5216, allocations: 0.8049 MB / 0.9394 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=109): time 3.988e-06/0.5216, allocations: 3.984 kB / 0.9394 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109): time 0.005852/0.5275, allocations: 1.973 MB / 0.9413 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.5276, allocations: 192.9 kB / 0.9415 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.5283, allocations: 0.6528 MB / 0.9422 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.5284, allocations: 45.7 kB / 0.9422 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.5287, allocations: 445.4 kB / 0.9426 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.529, allocations: 376.8 kB / 0.943 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.5293, allocations: 182.5 kB / 0.9432 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5295, allocations: 406.7 kB / 0.9435 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.5309, allocations: 485.7 kB / 0.944 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.5324, allocations: 0.6124 MB / 0.9446 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.5352, allocations: 1.054 MB / 0.9456 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5352, allocations: 0 / 0.9456 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003671/0.5389, allocations: 1.329 MB / 0.9469 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5389, allocations: 10.5 kB / 0.9469 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5389, allocations: 0 / 0.9469 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.5395, allocations: 84.86 kB / 0.947 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.5408, allocations: 255.6 kB / 0.9473 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.5427, allocations: 1.634 MB / 0.9489 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.5439, allocations: 163.3 kB / 0.949 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/0.544, allocations: 43.97 kB / 0.9491 GB, free: 6.941 MB / 0.7169 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.0004321/0.5444, allocations: 293.7 kB / 0.9493 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5446, allocations: 95.39 kB / 0.9494 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.5489, allocations: 1.668 MB / 0.9511 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5489, allocations: 12 kB / 0.9511 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5489, allocations: 3.938 kB / 0.9511 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5489, allocations: 11.91 kB / 0.9511 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.5545, allocations: 2.851 MB / 0.9539 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5545, allocations: 0 / 0.9539 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.5558, allocations: 255.6 kB / 0.9541 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.5562, allocations: 76.77 kB / 0.9542 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.5563, allocations: 35.97 kB / 0.9542 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2662/0.8225, allocations: 1.652 MB / 0.9558 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8225, allocations: 0.5 kB / 0.9558 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.8269, allocations: 1.538 MB / 0.9573 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.8273, allocations: 325.5 kB / 0.9576 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.8275, allocations: 26.11 kB / 0.9577 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.8287, allocations: 123.7 kB / 0.9578 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.8289, allocations: 87.7 kB / 0.9579 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.829, allocations: 45.97 kB / 0.9579 GB, free: 187 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006355/0.8297, allocations: 475.8 kB / 0.9584 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8297, allocations: 0.6875 kB / 0.9584 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009043/0.8306, allocations: 378.9 kB / 0.9587 GB, free: 186.7 MB / 0.7169 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.004979/0.8356, allocations: 2.626 MB / 0.9613 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.8389, allocations: 1.347 MB / 0.9626 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8389, allocations: 3.719 kB / 0.9626 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.8407, allocations: 0.8238 MB / 0.9634 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8419, allocations: 300.8 kB / 0.9637 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.8563, allocations: 8.342 MB / 0.9719 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8567, allocations: 1.081 MB / 0.9729 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001053/0.8577, allocations: 339.4 kB / 0.9732 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.8583, allocations: 471.2 kB / 0.9737 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.8583, allocations: 0 / 0.9737 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.8982, allocations: 25.51 MB / 0.9986 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.55, allocations: 23.78 kB / 0.9986 GB, free: 153.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)