Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001139/0.001139, allocations: 191 kB / 16.14 MB, free: 6.645 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.043/2.043, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4873, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004652/0.4919, allocations: 4.657 MB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.6287, allocations: 148.5 MB / 1.099 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007237/0.6294, allocations: 15.94 kB / 1.099 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.6299, allocations: 142.9 kB / 1.099 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.6312, allocations: 440.2 kB / 1.099 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.6328, allocations: 0.8148 MB / 1.1 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.6339, allocations: 1.395 MB / 1.101 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.6347, allocations: 0.7646 MB / 1.102 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.6352, allocations: 0.5018 MB / 1.103 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.6357, allocations: 0.5872 MB / 1.103 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.6359, allocations: 76 kB / 1.103 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.6365, allocations: 431.6 kB / 1.104 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.6367, allocations: 290.9 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.6372, allocations: 0.5904 MB / 1.104 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.6385, allocations: 1.764 MB / 1.106 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6385, allocations: 4 kB / 1.106 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6385, allocations: 0 / 1.106 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6386, allocations: 0 / 1.106 GB, free: 0.5938 MB / 0.8575 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.002655/0.6412, allocations: 1.657 MB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6413, allocations: 8.031 kB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.6414, allocations: 173.1 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.6464, allocations: 0.76 MB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.6473, allocations: 0.8082 MB / 1.109 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.6474, allocations: 86.19 kB / 1.11 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6476, allocations: 104 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.6505, allocations: 1.44 MB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6505, allocations: 0 / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.6506, allocations: 47.98 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.6506, allocations: 24 kB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.6549, allocations: 1.893 MB / 1.113 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.6602, allocations: 3.264 MB / 1.116 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.6632, allocations: 1.379 MB / 1.118 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.6645, allocations: 0.5972 MB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/0.6651, allocations: 474.4 kB / 1.119 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.6669, allocations: 0.8087 MB / 1.119 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.063e-06/0.6669, allocations: 0 / 1.119 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005423/0.6723, allocations: 1.969 MB / 1.121 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.6724, allocations: 196.9 kB / 1.121 GB, free: 468 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.6731, allocations: 0.6489 MB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.6732, allocations: 49.7 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.6735, allocations: 444.4 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.6737, allocations: 354.8 kB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.674, allocations: 190.5 kB / 1.123 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6742, allocations: 398.7 kB / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6755, allocations: 493.7 kB / 1.124 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.6769, allocations: 0.6008 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/0.6795, allocations: 1.058 MB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6795, allocations: 0 / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00342/0.6829, allocations: 1.313 MB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.683, allocations: 13.94 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.683, allocations: 4 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.6835, allocations: 84.77 kB / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6848, allocations: 259.6 kB / 1.127 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1391/0.8239, allocations: 1.52 MB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.8252, allocations: 159.2 kB / 1.129 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.8253, allocations: 47.95 kB / 1.129 GB, free: 8.629 MB / 0.8887 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.0003821/0.8257, allocations: 291.5 kB / 1.129 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.8259, allocations: 98.72 kB / 1.129 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.8301, allocations: 1.668 MB / 1.131 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8301, allocations: 12 kB / 1.131 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8301, allocations: 7.984 kB / 1.131 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.8301, allocations: 3.984 kB / 1.131 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.8355, allocations: 2.859 MB / 1.134 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8355, allocations: 0 / 1.134 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.8367, allocations: 255.6 kB / 1.134 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.8372, allocations: 84.72 kB / 1.134 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.8373, allocations: 35.95 kB / 1.134 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.8389, allocations: 1.54 MB / 1.136 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8389, allocations: 0 / 1.136 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.8425, allocations: 1.531 MB / 1.137 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.8429, allocations: 319.5 kB / 1.137 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.843, allocations: 31.89 kB / 1.137 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.8441, allocations: 119.9 kB / 1.137 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8443, allocations: 84.81 kB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.8444, allocations: 55.95 kB / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004898/0.8449, allocations: 467 kB / 1.138 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8449, allocations: 0 / 1.138 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008065/0.8457, allocations: 383.1 kB / 1.138 GB, free: 14.57 MB / 0.9044 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.004961/0.8507, allocations: 2.606 MB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.8538, allocations: 1.351 MB / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8538, allocations: 3.938 kB / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.8556, allocations: 0.8086 MB / 1.143 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.8566, allocations: 271.2 kB / 1.143 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.8731, allocations: 9.075 MB / 1.152 GB, free: 388 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.8738, allocations: 1.084 MB / 1.153 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001302/0.8751, allocations: 339.7 kB / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/0.8758, allocations: 459.2 kB / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of SimCode: time 1.683e-06/0.8758, allocations: 0 / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.461/2.336, allocations: 24.35 MB / 1.178 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/2.337, allocations: 325 kB / 1.178 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/4.54, allocations: 0 / 1.178 GB, free: 6.195 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)