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.005669/0.005669, allocations: 97.88 kB / 15.73 MB, free: 6.062 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.001276/0.001276, allocations: 203.1 kB / 16.68 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 286.1 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 95.84 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4244, allocations: 89.14 MB / 0.7813 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007136/0.4316, allocations: 5.393 MB / 0.7866 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.6033, allocations: 150.8 MB / 0.9339 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.6043, allocations: 19.88 kB / 0.9339 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.605, allocations: 206 kB / 0.9341 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.6068, allocations: 0.5702 MB / 0.9347 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.6091, allocations: 0.9399 MB / 0.9356 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.6111, allocations: 1.632 MB / 0.9372 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6121, allocations: 0.7435 MB / 0.9379 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.613, allocations: 0.5995 MB / 0.9385 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008212/0.6138, allocations: 0.6341 MB / 0.9391 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.614, allocations: 144 kB / 0.9393 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.6151, allocations: 0.5308 MB / 0.9398 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.6154, allocations: 358.8 kB / 0.9401 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.6161, allocations: 0.6686 MB / 0.9408 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.6184, allocations: 1.924 MB / 0.9426 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.6184, allocations: 3.984 kB / 0.9427 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6184, allocations: 4 kB / 0.9427 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.6185, allocations: 0 / 0.9427 GB, free: 9.398 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.003296/0.6218, allocations: 1.721 MB / 0.9443 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6218, allocations: 12.03 kB / 0.9443 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.622, allocations: 173.1 kB / 0.9445 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.6274, allocations: 0.7569 MB / 0.9453 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6287, allocations: 0.8362 MB / 0.9461 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.6288, allocations: 82.2 kB / 0.9461 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.629, allocations: 112 kB / 0.9463 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/0.6324, allocations: 1.436 MB / 0.9477 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.6325, allocations: 0 / 0.9477 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.6326, allocations: 48 kB / 0.9477 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.6326, allocations: 28 kB / 0.9477 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/0.6376, allocations: 1.885 MB / 0.9496 GB, free: 2.133 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.006658/0.6443, allocations: 3.52 MB / 0.953 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/0.648, allocations: 1.378 MB / 0.9544 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.6497, allocations: 0.5965 MB / 0.9549 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/0.6504, allocations: 478.5 kB / 0.9554 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.6525, allocations: 0.8126 MB / 0.9562 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=109): time 3.467e-06/0.6525, allocations: 0 / 0.9562 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109): time 0.006622/0.6592, allocations: 1.981 MB / 0.9581 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6593, allocations: 192.9 kB / 0.9583 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.6603, allocations: 0.649 MB / 0.9589 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6604, allocations: 45.7 kB / 0.959 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.6609, allocations: 453.3 kB / 0.9594 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.6612, allocations: 376.7 kB / 0.9598 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.6616, allocations: 194.5 kB / 0.96 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6618, allocations: 394.7 kB / 0.9603 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.6634, allocations: 493.7 kB / 0.9608 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.6652, allocations: 0.6086 MB / 0.9614 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.6684, allocations: 1.058 MB / 0.9624 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6684, allocations: 7.938 kB / 0.9624 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00429/0.6727, allocations: 1.325 MB / 0.9637 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6727, allocations: 4 kB / 0.9637 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6727, allocations: 0 / 0.9637 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.6734, allocations: 88.89 kB / 0.9638 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.6748, allocations: 259.6 kB / 0.9641 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.6772, allocations: 1.63 MB / 0.9657 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6785, allocations: 168.9 kB / 0.9658 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.6787, allocations: 39.97 kB / 0.9659 GB, free: 0.8672 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.0005709/0.6793, allocations: 285.5 kB / 0.9661 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.6795, allocations: 95.39 kB / 0.9662 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.6846, allocations: 1.692 MB / 0.9679 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.6847, allocations: 12 kB / 0.9679 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6847, allocations: 0 / 0.9679 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.6847, allocations: 11.91 kB / 0.9679 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.6911, allocations: 2.813 MB / 0.9706 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6911, allocations: 0 / 0.9706 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.6925, allocations: 255.6 kB / 0.9709 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.693, allocations: 76.78 kB / 0.971 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.6931, allocations: 31.97 kB / 0.971 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.6953, allocations: 1.642 MB / 0.9726 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6953, allocations: 8.234 kB / 0.9726 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.6998, allocations: 1.541 MB / 0.9741 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.7004, allocations: 335.9 kB / 0.9744 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.7006, allocations: 20 kB / 0.9745 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7019, allocations: 127.9 kB / 0.9746 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.7021, allocations: 84.88 kB / 0.9747 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.7023, allocations: 43.97 kB / 0.9747 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006814/0.7029, allocations: 475 kB / 0.9752 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.703, allocations: 3.938 kB / 0.9752 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00106/0.704, allocations: 399 kB / 0.9755 GB, free: 6.695 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 (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.006581/0.7106, allocations: 2.601 MB / 0.9781 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004056/0.7147, allocations: 1.362 MB / 0.9794 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7147, allocations: 4 kB / 0.9794 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.7169, allocations: 0.8202 MB / 0.9802 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7184, allocations: 325.1 kB / 0.9805 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.7368, allocations: 8.241 MB / 0.9886 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/0.7377, allocations: 1.08 MB / 0.9896 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001381/0.7391, allocations: 339.8 kB / 0.9899 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/0.7399, allocations: 467.2 kB / 0.9904 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/0.7399, allocations: 0 / 0.9904 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.806, allocations: 25.64 MB / 1.015 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.91, allocations: 16.84 kB / 1.015 GB, free: 14.23 MB / 0.7794 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)