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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001313/0.001313, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 274.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 92.5 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1503, allocations: 86.97 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008065/0.1585, allocations: 4.652 MB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4379/0.5964, allocations: 148.5 MB / 0.8293 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007284/0.5971, allocations: 15.31 kB / 0.8293 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.5976, allocations: 146.1 kB / 0.8295 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.5989, allocations: 456.7 kB / 0.8299 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.6005, allocations: 0.8387 MB / 0.8307 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.6016, allocations: 1.492 MB / 0.8322 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008307/0.6024, allocations: 0.7938 MB / 0.8329 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005753/0.603, allocations: 0.5793 MB / 0.8335 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.6035, allocations: 0.6262 MB / 0.8341 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.6037, allocations: 143 kB / 0.8343 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.6045, allocations: 0.4999 MB / 0.8348 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.6047, allocations: 362.5 kB / 0.8351 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.6052, allocations: 0.6466 MB / 0.8357 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.6066, allocations: 1.834 MB / 0.8375 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6066, allocations: 3.312 kB / 0.8375 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6066, allocations: 0 / 0.8375 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.6066, allocations: 0 / 0.8375 GB, free: 15.39 MB / 0.5762 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.00265/0.6093, allocations: 1.663 MB / 0.8391 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6093, allocations: 9.625 kB / 0.8392 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6095, allocations: 169.7 kB / 0.8393 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/0.6144, allocations: 0.7583 MB / 0.8401 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.6154, allocations: 0.8153 MB / 0.8409 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.6155, allocations: 82.36 kB / 0.8409 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.6156, allocations: 107.9 kB / 0.841 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.6184, allocations: 1.434 MB / 0.8424 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6185, allocations: 0 / 0.8424 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6186, allocations: 46.34 kB / 0.8425 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.6186, allocations: 26.75 kB / 0.8425 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/0.6227, allocations: 1.883 MB / 0.8443 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.6279, allocations: 3.273 MB / 0.8475 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.6308, allocations: 1.375 MB / 0.8489 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.6321, allocations: 0.5983 MB / 0.8495 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.6327, allocations: 478 kB / 0.8499 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.6344, allocations: 0.8178 MB / 0.8507 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 2.185e-06/0.6344, allocations: 0 / 0.8507 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005224/0.6396, allocations: 1.964 MB / 0.8526 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.6397, allocations: 197.1 kB / 0.8528 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.6404, allocations: 0.6486 MB / 0.8535 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.6405, allocations: 46.08 kB / 0.8535 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.6407, allocations: 447.5 kB / 0.8539 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.641, allocations: 357.1 kB / 0.8543 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.6413, allocations: 188.4 kB / 0.8545 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6414, allocations: 397 kB / 0.8548 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.6426, allocations: 493.4 kB / 0.8553 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.644, allocations: 0.6028 MB / 0.8559 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.6465, allocations: 1.063 MB / 0.8569 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6465, allocations: 0 / 0.8569 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003258/0.6497, allocations: 1.316 MB / 0.8582 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6497, allocations: 4.938 kB / 0.8582 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6498, allocations: 4 kB / 0.8582 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.6503, allocations: 85.61 kB / 0.8583 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.6515, allocations: 262.1 kB / 0.8586 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.6533, allocations: 1.633 MB / 0.8601 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6544, allocations: 160.9 kB / 0.8603 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.6545, allocations: 39.47 kB / 0.8603 GB, free: 1.508 MB / 0.5762 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.0003659/0.6548, allocations: 285 kB / 0.8606 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.655, allocations: 100.4 kB / 0.8607 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.6591, allocations: 1.677 MB / 0.8623 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.6591, allocations: 12.22 kB / 0.8624 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.6591, allocations: 0 / 0.8624 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.6591, allocations: 14.19 kB / 0.8624 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.6642, allocations: 2.854 MB / 0.8652 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6642, allocations: 0 / 0.8652 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.6654, allocations: 255.6 kB / 0.8654 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/0.6658, allocations: 74.38 kB / 0.8655 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.6658, allocations: 36.25 kB / 0.8655 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.6674, allocations: 1.663 MB / 0.8671 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6674, allocations: 3.938 kB / 0.8671 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.6709, allocations: 1.524 MB / 0.8686 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.6712, allocations: 323.1 kB / 0.8689 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.6714, allocations: 23.06 kB / 0.869 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6725, allocations: 121.4 kB / 0.8691 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6726, allocations: 89.16 kB / 0.8692 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.6727, allocations: 47.84 kB / 0.8692 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004491/0.6732, allocations: 474.8 kB / 0.8697 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6732, allocations: 0 / 0.8697 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008156/0.674, allocations: 382.2 kB / 0.87 GB, free: 11.18 MB / 0.5919 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.004821/0.6789, allocations: 2.614 MB / 0.8726 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004144/0.683, allocations: 1.62 MB / 0.8742 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.683, allocations: 0 / 0.8742 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.6848, allocations: 0.8202 MB / 0.875 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6859, allocations: 298.7 kB / 0.8752 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.7025, allocations: 9.055 MB / 0.8841 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.703, allocations: 1.096 MB / 0.8851 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001275/0.7043, allocations: 335.7 kB / 0.8855 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/0.7049, allocations: 463.2 kB / 0.8859 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.7049, allocations: 4 kB / 0.8859 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.419/6.123, allocations: 25.06 MB / 0.9104 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/6.124, allocations: 340.2 kB / 0.9107 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/8.81, allocations: 10.88 kB / 0.9107 GB, free: 2.621 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)