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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.161/1.161, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.011/2.011, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4601, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00442/0.4646, allocations: 4.645 MB / 0.9542 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.5986, allocations: 150.8 MB / 1.101 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.5994, allocations: 19.88 kB / 1.101 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.6, allocations: 186.3 kB / 1.102 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.6016, allocations: 0.5097 MB / 1.102 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.6035, allocations: 0.9298 MB / 1.103 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.6049, allocations: 1.488 MB / 1.105 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009316/0.6058, allocations: 0.7976 MB / 1.105 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/0.6065, allocations: 0.5723 MB / 1.106 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.6072, allocations: 0.6223 MB / 1.106 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.6074, allocations: 147.9 kB / 1.107 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.6082, allocations: 0.4996 MB / 1.107 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.6085, allocations: 358.9 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.609, allocations: 0.649 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.6107, allocations: 1.827 MB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6107, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6107, allocations: 4 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.6107, allocations: 7.938 kB / 1.11 GB, free: 13.21 MB / 0.8731 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.002852/0.6136, allocations: 1.657 MB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.6136, allocations: 8.031 kB / 1.112 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.6138, allocations: 173.1 kB / 1.112 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.6186, allocations: 0.7561 MB / 1.112 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.6197, allocations: 0.8082 MB / 1.113 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.6197, allocations: 90.19 kB / 1.113 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6199, allocations: 100 kB / 1.113 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.6227, allocations: 1.44 MB / 1.115 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6227, allocations: 0 / 1.115 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6229, allocations: 44 kB / 1.115 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.6229, allocations: 28 kB / 1.115 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/0.6271, allocations: 1.893 MB / 1.117 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.6324, allocations: 3.268 MB / 1.12 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.6355, allocations: 1.367 MB / 1.121 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.6369, allocations: 0.5933 MB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.6375, allocations: 482.5 kB / 1.122 GB, free: 156 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/0.6392, allocations: 0.8087 MB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 2.214e-06/0.6392, allocations: 0 / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.005515/0.6448, allocations: 1.977 MB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.6448, allocations: 192.9 kB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.6455, allocations: 0.6489 MB / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.6456, allocations: 49.7 kB / 1.126 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.6459, allocations: 440.5 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.6461, allocations: 350.8 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.6464, allocations: 190.5 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6466, allocations: 402.7 kB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.6479, allocations: 489.7 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.6494, allocations: 0.6008 MB / 1.128 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.6521, allocations: 1.058 MB / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6521, allocations: 0 / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003512/0.6556, allocations: 1.317 MB / 1.131 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6557, allocations: 9.188 kB / 1.131 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6557, allocations: 4 kB / 1.131 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.6562, allocations: 84.83 kB / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.6574, allocations: 263.5 kB / 1.131 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.6592, allocations: 1.626 MB / 1.132 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6603, allocations: 163.1 kB / 1.133 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.6604, allocations: 39.97 kB / 1.133 GB, free: 5.152 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.0003798/0.6608, allocations: 299.6 kB / 1.133 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.661, allocations: 94.88 kB / 1.133 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.6653, allocations: 1.664 MB / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6653, allocations: 12 kB / 1.135 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6653, allocations: 7.938 kB / 1.135 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6653, allocations: 11.91 kB / 1.135 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.6707, allocations: 2.852 MB / 1.137 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6708, allocations: 0 / 1.137 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.672, allocations: 255.6 kB / 1.138 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.6724, allocations: 76.77 kB / 1.138 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.6725, allocations: 35.97 kB / 1.138 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6741, allocations: 1.654 MB / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6742, allocations: 0 / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.6778, allocations: 1.531 MB / 1.141 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.6782, allocations: 319.4 kB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6784, allocations: 28 kB / 1.141 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6795, allocations: 129.5 kB / 1.141 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.6797, allocations: 88.88 kB / 1.141 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.6797, allocations: 43.97 kB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004905/0.6802, allocations: 475 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.303e-06/0.6802, allocations: 0 / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007733/0.681, allocations: 379 kB / 1.142 GB, free: 10.97 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.005061/0.6861, allocations: 2.597 MB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004213/0.6903, allocations: 1.632 MB / 1.146 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6903, allocations: 0 / 1.146 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.6921, allocations: 0.8124 MB / 1.147 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6932, allocations: 299.9 kB / 1.148 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.7088, allocations: 8.594 MB / 1.156 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.7094, allocations: 1.086 MB / 1.157 GB, free: 11.87 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7106, allocations: 343.6 kB / 1.157 GB, free: 11.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.7113, allocations: 471.2 kB / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.7113, allocations: 0 / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.126/2.837, allocations: 25.23 MB / 1.182 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/13.76, allocations: 8.047 kB / 1.182 GB, free: 2.242 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)