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.004537/0.004537, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001077/0.001077, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.077/2.077, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 59.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7438, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005589/0.7494, allocations: 4.646 MB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1831/0.9326, allocations: 150.8 MB / 1.239 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.934, allocations: 15.25 kB / 1.239 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.9348, allocations: 180.2 kB / 1.239 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.9372, allocations: 0.5156 MB / 1.24 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.9399, allocations: 0.9351 MB / 1.241 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.9419, allocations: 1.499 MB / 1.242 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.9431, allocations: 0.7991 MB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009254/0.944, allocations: 0.5668 MB / 1.244 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009303/0.945, allocations: 0.631 MB / 1.244 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003389/0.9453, allocations: 147.2 kB / 1.244 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.9464, allocations: 0.5202 MB / 1.245 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.9467, allocations: 362.8 kB / 1.245 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.9473, allocations: 0.6451 MB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.9492, allocations: 1.877 MB / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9492, allocations: 0 / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9492, allocations: 0 / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.9492, allocations: 4 kB / 1.248 GB, free: 9.637 MB / 0.9825 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.003015/0.9522, allocations: 1.665 MB / 1.249 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9523, allocations: 8.031 kB / 1.249 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.9525, allocations: 169.1 kB / 1.249 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.9583, allocations: 0.7561 MB / 1.25 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.9603, allocations: 0.8317 MB / 1.251 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/0.9605, allocations: 78.2 kB / 1.251 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.9607, allocations: 112 kB / 1.251 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.9641, allocations: 1.424 MB / 1.253 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.9641, allocations: 15.91 kB / 1.253 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.9643, allocations: 48 kB / 1.253 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.9643, allocations: 28 kB / 1.253 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.969, allocations: 1.882 MB / 1.255 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.975, allocations: 3.233 MB / 1.258 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.9785, allocations: 1.377 MB / 1.259 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.9801, allocations: 0.5933 MB / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.9809, allocations: 486.5 kB / 1.26 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/0.9828, allocations: 0.801 MB / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.106e-06/0.9828, allocations: 0 / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006457/0.9893, allocations: 1.973 MB / 1.263 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.9894, allocations: 192.9 kB / 1.263 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.9903, allocations: 0.6528 MB / 1.264 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.9904, allocations: 45.7 kB / 1.264 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.9908, allocations: 440.5 kB / 1.264 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.9911, allocations: 358.8 kB / 1.264 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.9914, allocations: 182.5 kB / 1.265 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9916, allocations: 402.7 kB / 1.265 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.9931, allocations: 493.7 kB / 1.265 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.9947, allocations: 0.6046 MB / 1.266 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/0.9978, allocations: 1.058 MB / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9978, allocations: 0 / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004046/1.002, allocations: 1.317 MB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.002, allocations: 8 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.002, allocations: 64 / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/1.003, allocations: 88.89 kB / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.004, allocations: 259.6 kB / 1.269 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/1.006, allocations: 1.631 MB / 1.27 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.007, allocations: 163.1 kB / 1.27 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.007, allocations: 43.97 kB / 1.27 GB, free: 1.586 MB / 0.9981 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.0005687/1.008, allocations: 290.8 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/1.008, allocations: 94.81 kB / 1.271 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/1.013, allocations: 1.676 MB / 1.272 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.013, allocations: 12 kB / 1.273 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.013, allocations: 0 / 1.273 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.013, allocations: 7.922 kB / 1.273 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/1.02, allocations: 2.866 MB / 1.275 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.02, allocations: 0 / 1.275 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.022, allocations: 255.6 kB / 1.276 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/1.022, allocations: 72.78 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.022, allocations: 35.97 kB / 1.276 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.024, allocations: 1.658 MB / 1.277 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.024, allocations: 0 / 1.277 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/1.029, allocations: 1.533 MB / 1.279 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/1.029, allocations: 319.5 kB / 1.279 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/1.029, allocations: 20 kB / 1.279 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.031, allocations: 127.9 kB / 1.279 GB, free: 8.363 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.031, allocations: 84.88 kB / 1.279 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.031, allocations: 47.91 kB / 1.279 GB, free: 8.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006884/1.032, allocations: 479 kB / 1.28 GB, free: 7.773 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.032, allocations: 0 / 1.28 GB, free: 7.773 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001119/1.033, allocations: 379.1 kB / 1.28 GB, free: 7.402 MB / 1.014 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.006155/1.039, allocations: 2.606 MB / 1.283 GB, free: 4.949 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004014/1.043, allocations: 1.354 MB / 1.284 GB, free: 3.582 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.043, allocations: 0 / 1.284 GB, free: 3.582 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.045, allocations: 0.8163 MB / 1.285 GB, free: 2.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.047, allocations: 298.8 kB / 1.285 GB, free: 2.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.066, allocations: 8.296 MB / 1.293 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/1.067, allocations: 1.077 MB / 1.294 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001361/1.068, allocations: 351.6 kB / 1.295 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/1.069, allocations: 467.2 kB / 1.295 GB, free: 8.125 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/1.069, allocations: 0 / 1.295 GB, free: 8.125 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06705/1.136, allocations: 25.5 MB / 1.32 GB, free: 15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.28, allocations: 16.97 kB / 1.32 GB, free: 14.99 MB / 1.061 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)