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.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001129/0.00113, allocations: 192.8 kB / 16.14 MB, free: 6.715 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 275 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8375/0.8375, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 89.25 kB / 0.5946 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005473/0.134, allocations: 4.636 MB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3863/0.5204, allocations: 148.4 MB / 0.829 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.521, allocations: 16.47 kB / 0.8291 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.5215, allocations: 146.3 kB / 0.8292 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.5227, allocations: 430.4 kB / 0.8296 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.5242, allocations: 0.8254 MB / 0.8304 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009685/0.5252, allocations: 1.39 MB / 0.8318 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/0.526, allocations: 0.7735 MB / 0.8325 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.5265, allocations: 0.4974 MB / 0.833 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.527, allocations: 0.5865 MB / 0.8336 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.5271, allocations: 73.91 kB / 0.8337 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.5279, allocations: 439.2 kB / 0.8341 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.5281, allocations: 296.3 kB / 0.8344 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.5285, allocations: 0.5794 MB / 0.8349 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5299, allocations: 1.766 MB / 0.8366 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5299, allocations: 1.156 kB / 0.8366 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.71e-07/0.5299, allocations: 3.938 kB / 0.8366 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.5299, allocations: 4 kB / 0.8367 GB, free: 15.71 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.002901/0.5328, allocations: 1.662 MB / 0.8383 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5329, allocations: 8.938 kB / 0.8383 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.533, allocations: 164.9 kB / 0.8384 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005189/0.5382, allocations: 0.7602 MB / 0.8392 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5393, allocations: 0.8096 MB / 0.84 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.5393, allocations: 81.98 kB / 0.8401 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.5395, allocations: 108 kB / 0.8402 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.5426, allocations: 1.43 MB / 0.8416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5426, allocations: 1.375 kB / 0.8416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.5427, allocations: 47.78 kB / 0.8416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.5427, allocations: 26.94 kB / 0.8416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.547, allocations: 1.89 MB / 0.8435 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.5526, allocations: 3.281 MB / 0.8467 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.5556, allocations: 1.364 MB / 0.848 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.557, allocations: 0.5977 MB / 0.8486 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.5576, allocations: 481.1 kB / 0.849 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.5594, allocations: 0.8087 MB / 0.8498 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 2.304e-06/0.5594, allocations: 3.938 kB / 0.8498 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005561/0.565, allocations: 1.967 MB / 0.8518 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.5651, allocations: 193.6 kB / 0.8519 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.5658, allocations: 0.6437 MB / 0.8526 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.5659, allocations: 46.61 kB / 0.8526 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.5662, allocations: 447.9 kB / 0.853 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.5664, allocations: 351.1 kB / 0.8534 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.5667, allocations: 195.1 kB / 0.8536 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5669, allocations: 396.8 kB / 0.8539 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.5682, allocations: 494.8 kB / 0.8544 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.5697, allocations: 0.5999 MB / 0.855 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.5724, allocations: 1.062 MB / 0.856 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5724, allocations: 0 / 0.856 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003543/0.5759, allocations: 1.325 MB / 0.8573 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5759, allocations: 7.875 kB / 0.8573 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.576, allocations: 5.125 kB / 0.8574 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.5765, allocations: 87.52 kB / 0.8574 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5779, allocations: 261.6 kB / 0.8577 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.5798, allocations: 1.514 MB / 0.8592 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.581, allocations: 164.1 kB / 0.8593 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.5811, allocations: 41.53 kB / 0.8594 GB, free: 1.855 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.0004366/0.5815, allocations: 291.9 kB / 0.8596 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5817, allocations: 93.83 kB / 0.8597 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/0.5861, allocations: 1.673 MB / 0.8614 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5861, allocations: 12.38 kB / 0.8614 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5861, allocations: 0 / 0.8614 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.5861, allocations: 11.91 kB / 0.8614 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.5917, allocations: 2.851 MB / 0.8642 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5917, allocations: 7.938 kB / 0.8642 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.593, allocations: 245.8 kB / 0.8644 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/0.5936, allocations: 83.36 kB / 0.8645 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.5937, allocations: 44.28 kB / 0.8645 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.5954, allocations: 1.544 MB / 0.866 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5954, allocations: 0 / 0.866 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.5991, allocations: 1.533 MB / 0.8675 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.5995, allocations: 318 kB / 0.8678 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.5997, allocations: 24.59 kB / 0.8679 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.6008, allocations: 128.5 kB / 0.868 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.601, allocations: 83.53 kB / 0.8681 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-05/0.6011, allocations: 47.47 kB / 0.8681 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005186/0.6016, allocations: 479.1 kB / 0.8686 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6016, allocations: 0 / 0.8686 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008974/0.6025, allocations: 372.6 kB / 0.8689 GB, free: 11.63 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.005174/0.6077, allocations: 2.614 MB / 0.8715 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.611, allocations: 1.346 MB / 0.8728 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6111, allocations: 4 kB / 0.8728 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.6129, allocations: 0.8124 MB / 0.8736 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6141, allocations: 284 kB / 0.8739 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.6318, allocations: 9.06 MB / 0.8827 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.6324, allocations: 1.088 MB / 0.8838 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001367/0.6337, allocations: 327.7 kB / 0.8841 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007335/0.6345, allocations: 467.2 kB / 0.8845 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.6345, allocations: 4 kB / 0.8845 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/0.6888, allocations: 24.36 MB / 0.9083 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.6892, allocations: 343.7 kB / 0.9086 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.526, allocations: 6.562 kB / 0.9086 GB, free: 4.707 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)