Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_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.004731/0.004731, allocations: 101 kB / 15.73 MB, free: 6.043 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.00133/0.00133, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.396/2.396, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 68.12 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.244, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005852/0.2499, allocations: 5.385 MB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5924/0.8423, allocations: 150.8 MB / 1.394 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.843, allocations: 15.31 kB / 1.394 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.8436, allocations: 215.3 kB / 1.395 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.8452, allocations: 0.5697 MB / 1.395 GB, free: 188 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.8471, allocations: 0.9406 MB / 1.396 GB, free: 15.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.8487, allocations: 1.624 MB / 1.398 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.8496, allocations: 0.7462 MB / 1.398 GB, free: 14.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.8502, allocations: 0.594 MB / 1.399 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.8509, allocations: 0.6458 MB / 1.4 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.851, allocations: 141.8 kB / 1.4 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.8518, allocations: 0.5289 MB / 1.4 GB, free: 13 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.8521, allocations: 358.1 kB / 1.401 GB, free: 12.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.8527, allocations: 0.6752 MB / 1.401 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.8544, allocations: 1.914 MB / 1.403 GB, free: 10.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.8544, allocations: 1.469 kB / 1.403 GB, free: 10.82 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8544, allocations: 4 kB / 1.403 GB, free: 10.82 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.8545, allocations: 0 / 1.403 GB, free: 10.82 MB / 1.107 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.002646/0.8571, allocations: 1.72 MB / 1.405 GB, free: 9.512 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.8571, allocations: 15.36 kB / 1.405 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.8573, allocations: 170.3 kB / 1.405 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.8618, allocations: 0.7622 MB / 1.406 GB, free: 9.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.863, allocations: 0.8459 MB / 1.407 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.863, allocations: 82.7 kB / 1.407 GB, free: 8.285 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8632, allocations: 107 kB / 1.407 GB, free: 8.25 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.866, allocations: 1.433 MB / 1.408 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.866, allocations: 0 / 1.408 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.8662, allocations: 42.66 kB / 1.408 GB, free: 7.324 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.8662, allocations: 27.66 kB / 1.408 GB, free: 7.324 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/0.8704, allocations: 1.891 MB / 1.41 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.8758, allocations: 3.611 MB / 1.414 GB, free: 3.578 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.8789, allocations: 1.372 MB / 1.415 GB, free: 2.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.8803, allocations: 0.5977 MB / 1.416 GB, free: 2.543 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.8809, allocations: 486.2 kB / 1.416 GB, free: 2.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.8827, allocations: 0.8071 MB / 1.417 GB, free: 1.527 MB / 1.107 GB Notification: Performance of pre-optimization done (n=109): time 1.984e-06/0.8827, allocations: 0 / 1.417 GB, free: 1.527 MB / 1.107 GB Notification: Performance of matching and sorting (n=109): time 0.005329/0.888, allocations: 1.979 MB / 1.419 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8881, allocations: 196.8 kB / 1.419 GB, free: 296 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.8888, allocations: 0.6473 MB / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.8889, allocations: 43.45 kB / 1.42 GB, free: 15.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.8892, allocations: 456.8 kB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.8895, allocations: 367.5 kB / 1.42 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.8898, allocations: 189.8 kB / 1.421 GB, free: 15.04 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.89, allocations: 395.2 kB / 1.421 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.8913, allocations: 493.4 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.8927, allocations: 0.6149 MB / 1.422 GB, free: 13.89 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.8955, allocations: 1.058 MB / 1.423 GB, free: 12.82 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8955, allocations: 3.625 kB / 1.423 GB, free: 12.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003526/0.899, allocations: 1.329 MB / 1.424 GB, free: 11.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.899, allocations: 8 kB / 1.424 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.899, allocations: 0 / 1.424 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.8996, allocations: 80.91 kB / 1.424 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.9008, allocations: 263.5 kB / 1.425 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.9027, allocations: 1.643 MB / 1.426 GB, free: 9.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.9037, allocations: 163.4 kB / 1.426 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.9038, allocations: 49.52 kB / 1.426 GB, free: 9.141 MB / 1.123 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.0003748/0.9042, allocations: 277.6 kB / 1.427 GB, free: 8.859 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.9043, allocations: 103.3 kB / 1.427 GB, free: 8.758 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.9086, allocations: 1.674 MB / 1.428 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.9086, allocations: 12 kB / 1.428 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9086, allocations: 0 / 1.428 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9086, allocations: 7.922 kB / 1.428 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.9137, allocations: 2.818 MB / 1.431 GB, free: 4.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9138, allocations: 3.938 kB / 1.431 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9149, allocations: 255.6 kB / 1.431 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/0.9153, allocations: 72.78 kB / 1.432 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.9154, allocations: 35.97 kB / 1.432 GB, free: 3.816 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.9171, allocations: 1.654 MB / 1.433 GB, free: 2.016 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9172, allocations: 8 kB / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.9209, allocations: 1.529 MB / 1.435 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.9213, allocations: 335.7 kB / 1.435 GB, free: 116 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.9215, allocations: 31.92 kB / 1.435 GB, free: 84 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.9226, allocations: 116 kB / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.9227, allocations: 88.86 kB / 1.435 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.9229, allocations: 51.95 kB / 1.435 GB, free: 15.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005303/0.9234, allocations: 471 kB / 1.436 GB, free: 15.38 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9234, allocations: 0 / 1.436 GB, free: 15.38 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008261/0.9242, allocations: 399.1 kB / 1.436 GB, free: 14.98 MB / 1.139 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.005789/0.93, allocations: 2.616 MB / 1.439 GB, free: 12.53 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.9334, allocations: 1.362 MB / 1.44 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9335, allocations: 0 / 1.44 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.9353, allocations: 0.828 MB / 1.441 GB, free: 10.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.9365, allocations: 324.5 kB / 1.441 GB, free: 10.02 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.9517, allocations: 8.22 MB / 1.449 GB, free: 1.641 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.9524, allocations: 1.084 MB / 1.45 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001024/0.9534, allocations: 339.9 kB / 1.451 GB, free: 196 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.9542, allocations: 463.3 kB / 1.451 GB, free: 15.73 MB / 1.154 GB Notification: Performance of SimCode: time 2.51e-07/0.9542, allocations: 0 / 1.451 GB, free: 15.73 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.537/4.492, allocations: 25.61 MB / 1.476 GB, free: 6.508 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/20.48, allocations: 12.16 kB / 1.476 GB, free: 6.496 MB / 1.17 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)