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.004578/0.004578, allocations: 96.7 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.001254/0.001254, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9972/0.9972, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 99.83 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1654, allocations: 86.96 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00677/0.1722, allocations: 4.66 MB / 0.7704 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4717/0.6439, allocations: 150.8 MB / 0.9177 GB, free: 7.473 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.6446, allocations: 15.94 kB / 0.9177 GB, free: 7.457 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.6452, allocations: 185.1 kB / 0.9179 GB, free: 7.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.6467, allocations: 0.5128 MB / 0.9184 GB, free: 6.777 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.6487, allocations: 0.9377 MB / 0.9193 GB, free: 5.867 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.6502, allocations: 1.493 MB / 0.9207 GB, free: 4.367 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.6513, allocations: 0.7878 MB / 0.9215 GB, free: 3.547 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.652, allocations: 0.5761 MB / 0.9221 GB, free: 2.969 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.6528, allocations: 0.6302 MB / 0.9227 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.653, allocations: 144 kB / 0.9228 GB, free: 2.195 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.6539, allocations: 0.5191 MB / 0.9233 GB, free: 1.676 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.6542, allocations: 358.8 kB / 0.9237 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.6549, allocations: 0.6451 MB / 0.9243 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.657, allocations: 1.889 MB / 0.9261 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.657, allocations: 0 / 0.9261 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.172e-06/0.657, allocations: 0 / 0.9261 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.657, allocations: 0 / 0.9261 GB, free: 14.79 MB / 0.6856 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.003195/0.6602, allocations: 1.701 MB / 0.9278 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6603, allocations: 12.03 kB / 0.9278 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.6605, allocations: 166.7 kB / 0.928 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.6655, allocations: 0.766 MB / 0.9287 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6669, allocations: 0.8443 MB / 0.9295 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.667, allocations: 86.14 kB / 0.9296 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.6672, allocations: 104 kB / 0.9297 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.6705, allocations: 1.436 MB / 0.9311 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.6705, allocations: 0 / 0.9311 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.6707, allocations: 48 kB / 0.9312 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.6707, allocations: 24 kB / 0.9312 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.6756, allocations: 1.889 MB / 0.933 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.6818, allocations: 3.248 MB / 0.9362 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.6854, allocations: 1.379 MB / 0.9376 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.687, allocations: 0.6002 MB / 0.9381 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.6878, allocations: 478.5 kB / 0.9386 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.6898, allocations: 0.8017 MB / 0.9394 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 2.705e-06/0.6898, allocations: 0 / 0.9394 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109): time 0.006397/0.6962, allocations: 1.977 MB / 0.9413 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.6964, allocations: 192.9 kB / 0.9415 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.6973, allocations: 0.6526 MB / 0.9421 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.6974, allocations: 49.7 kB / 0.9422 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.6978, allocations: 441.4 kB / 0.9426 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.6982, allocations: 376.8 kB / 0.943 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.6986, allocations: 190.5 kB / 0.9431 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.6988, allocations: 398.7 kB / 0.9435 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.7003, allocations: 489.7 kB / 0.944 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.702, allocations: 0.6086 MB / 0.9446 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.7051, allocations: 1.058 MB / 0.9456 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7051, allocations: 0 / 0.9456 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004054/0.7092, allocations: 1.333 MB / 0.9469 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7092, allocations: 4 kB / 0.9469 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.7092, allocations: 5.562 kB / 0.9469 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.7098, allocations: 76.91 kB / 0.947 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.7112, allocations: 259.6 kB / 0.9473 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.7135, allocations: 1.631 MB / 0.9488 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7147, allocations: 162.3 kB / 0.949 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7148, allocations: 40.16 kB / 0.949 GB, free: 6.652 MB / 0.7012 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.0004967/0.7153, allocations: 297.5 kB / 0.9493 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.7155, allocations: 107 kB / 0.9494 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/0.7204, allocations: 1.663 MB / 0.9511 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7204, allocations: 12 kB / 0.9511 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7204, allocations: 0 / 0.9511 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.7204, allocations: 11.95 kB / 0.9511 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/0.7268, allocations: 2.852 MB / 0.9539 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7268, allocations: 0 / 0.9539 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.7281, allocations: 251.6 kB / 0.9541 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.7286, allocations: 72.78 kB / 0.9542 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.7287, allocations: 35.97 kB / 0.9542 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.7308, allocations: 1.662 MB / 0.9558 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7308, allocations: 7.875 kB / 0.9558 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.735, allocations: 1.525 MB / 0.9573 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.7354, allocations: 331.9 kB / 0.9576 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.7356, allocations: 28.75 kB / 0.9577 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7368, allocations: 115.9 kB / 0.9578 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.737, allocations: 88.88 kB / 0.9579 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.7371, allocations: 47.95 kB / 0.9579 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006251/0.7377, allocations: 475 kB / 0.9584 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7377, allocations: 0 / 0.9584 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009613/0.7387, allocations: 383 kB / 0.9587 GB, free: 12.47 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.00641/0.7451, allocations: 2.621 MB / 0.9613 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003764/0.7489, allocations: 1.355 MB / 0.9626 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7489, allocations: 0 / 0.9626 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.7509, allocations: 0.8202 MB / 0.9634 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7523, allocations: 302 kB / 0.9637 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.7707, allocations: 8.341 MB / 0.9718 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.7715, allocations: 1.088 MB / 0.9729 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001309/0.7728, allocations: 343.6 kB / 0.9732 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008357/0.7737, allocations: 463.2 kB / 0.9737 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.7737, allocations: 0 / 0.9737 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.8358, allocations: 25.53 MB / 0.9986 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.87, allocations: 4.5 kB / 0.9986 GB, free: 4.016 MB / 0.7481 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)