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.0008531/0.000853, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004865/0.004865, allocations: 169 kB / 16.26 MB, free: 6.652 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.099/2.099, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5391, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.003885/0.543, allocations: 4.221 MB / 0.9593 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.6811, allocations: 146.9 MB / 1.103 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006384/0.6818, allocations: 15.88 kB / 1.103 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.6823, allocations: 154.8 kB / 1.103 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.6837, allocations: 424.5 kB / 1.103 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.6853, allocations: 0.8192 MB / 1.104 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.6864, allocations: 1.391 MB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.6873, allocations: 0.7528 MB / 1.106 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.6878, allocations: 418 kB / 1.107 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.6883, allocations: 477.4 kB / 1.107 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/0.6883, allocations: 36 kB / 1.107 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.689, allocations: 407.5 kB / 1.107 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.6892, allocations: 226.9 kB / 1.108 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.6896, allocations: 0.5257 MB / 1.108 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.6909, allocations: 1.705 MB / 1.11 GB, free: 316 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6909, allocations: 0 / 1.11 GB, free: 316 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.691, allocations: 0 / 1.11 GB, free: 316 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.691, allocations: 0 / 1.11 GB, free: 316 kB / 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.002401/0.6934, allocations: 1.404 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6934, allocations: 8.031 kB / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.6936, allocations: 169.1 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.6985, allocations: 0.8225 MB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.6995, allocations: 0.8083 MB / 1.113 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.6996, allocations: 90.19 kB / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.6998, allocations: 108 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.7027, allocations: 1.459 MB / 1.115 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.7027, allocations: 0 / 1.115 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.7029, allocations: 40 kB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.7029, allocations: 28 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.7073, allocations: 1.944 MB / 1.117 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.7127, allocations: 3.302 MB / 1.12 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.7159, allocations: 1.386 MB / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.7173, allocations: 0.6089 MB / 1.122 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.7179, allocations: 478.4 kB / 1.122 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/0.7197, allocations: 0.8128 MB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.104e-06/0.7197, allocations: 3.938 kB / 1.123 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005652/0.7254, allocations: 1.989 MB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.7255, allocations: 196.9 kB / 1.125 GB, free: 208 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.7262, allocations: 0.6528 MB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.7263, allocations: 45.7 kB / 1.126 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.7266, allocations: 440.5 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.7268, allocations: 358.8 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.727, allocations: 77.62 kB / 1.127 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7271, allocations: 402.7 kB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.7285, allocations: 497.7 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.73, allocations: 0.6164 MB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.7328, allocations: 1.07 MB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7328, allocations: 0 / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003577/0.7364, allocations: 1.333 MB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7364, allocations: 9.375 kB / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7364, allocations: 0 / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.737, allocations: 88.77 kB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.7383, allocations: 263.6 kB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.7401, allocations: 1.52 MB / 1.132 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7412, allocations: 173 kB / 1.132 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.7413, allocations: 43.97 kB / 1.132 GB, free: 8.422 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.0003994/0.7417, allocations: 295.4 kB / 1.133 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7418, allocations: 94.81 kB / 1.133 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7462, allocations: 1.688 MB / 1.134 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7462, allocations: 15.98 kB / 1.135 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.7462, allocations: 0 / 1.135 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.7462, allocations: 3.984 kB / 1.135 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.7517, allocations: 2.875 MB / 1.137 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7518, allocations: 0 / 1.137 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.753, allocations: 259.6 kB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.7535, allocations: 84.72 kB / 1.138 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.7536, allocations: 35.97 kB / 1.138 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.7552, allocations: 1.563 MB / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7552, allocations: 0 / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.7589, allocations: 1.539 MB / 1.141 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.7593, allocations: 335.4 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.7595, allocations: 28 kB / 1.141 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7606, allocations: 139.9 kB / 1.141 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7608, allocations: 84.81 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.7609, allocations: 51.95 kB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005023/0.7614, allocations: 471 kB / 1.142 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7614, allocations: 0 / 1.142 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008243/0.7623, allocations: 387 kB / 1.142 GB, free: 14.25 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.005066/0.7673, allocations: 2.62 MB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.7706, allocations: 1.37 MB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7706, allocations: 0 / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.7724, allocations: 0.828 MB / 1.147 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.7736, allocations: 267.2 kB / 1.147 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.7909, allocations: 9.172 MB / 1.156 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.7915, allocations: 1.092 MB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001244/0.7927, allocations: 335.7 kB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/0.7934, allocations: 467.2 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.7934, allocations: 0 / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/2.115, allocations: 23.99 MB / 1.181 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/2.116, allocations: 329.5 kB / 1.182 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/5.083, allocations: 0 / 1.182 GB, free: 6.113 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)