Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_10_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.006106/0.006106, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001665/0.001665, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.219/2.219, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 63.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5686/0.5703, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006496/0.5768, allocations: 5.411 MB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.725, allocations: 150.8 MB / 1.319 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.7257, allocations: 19.88 kB / 1.319 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.7264, allocations: 202 kB / 1.319 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.7281, allocations: 0.5748 MB / 1.32 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.7301, allocations: 0.9581 MB / 1.32 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.7318, allocations: 1.616 MB / 1.322 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009883/0.7328, allocations: 0.7499 MB / 1.323 GB, free: 2.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.7335, allocations: 0.584 MB / 1.323 GB, free: 2.121 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.7342, allocations: 0.6535 MB / 1.324 GB, free: 1.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.7344, allocations: 140 kB / 1.324 GB, free: 1.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008393/0.7353, allocations: 0.527 MB / 1.325 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.7356, allocations: 358.9 kB / 1.325 GB, free: 460 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.7361, allocations: 0.6724 MB / 1.326 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.738, allocations: 1.923 MB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.738, allocations: 3.984 kB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.738, allocations: 3.938 kB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.738, allocations: 0 / 1.328 GB, free: 13.84 MB / 1.061 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.002789/0.7408, allocations: 1.721 MB / 1.329 GB, free: 12.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.7409, allocations: 11.97 kB / 1.329 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.7411, allocations: 165.1 kB / 1.329 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.7459, allocations: 0.7647 MB / 1.33 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.747, allocations: 0.8323 MB / 1.331 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.7471, allocations: 90.2 kB / 1.331 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.7472, allocations: 111.9 kB / 1.331 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.7503, allocations: 1.428 MB / 1.333 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7503, allocations: 0 / 1.333 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.7504, allocations: 48 kB / 1.333 GB, free: 8.496 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7504, allocations: 35.98 kB / 1.333 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.7549, allocations: 1.882 MB / 1.334 GB, free: 6.57 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.7605, allocations: 3.518 MB / 1.338 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.7638, allocations: 1.382 MB / 1.339 GB, free: 1.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.7653, allocations: 0.5954 MB / 1.34 GB, free: 0.918 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/0.7659, allocations: 478.6 kB / 1.34 GB, free: 368 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.7678, allocations: 0.8127 MB / 1.341 GB, free: 15.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=109): time 2.354e-06/0.7678, allocations: 0 / 1.341 GB, free: 15.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=109): time 0.005861/0.7736, allocations: 1.974 MB / 1.343 GB, free: 13.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7738, allocations: 192.9 kB / 1.343 GB, free: 13.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.7745, allocations: 0.6528 MB / 1.344 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.7746, allocations: 45.7 kB / 1.344 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.7749, allocations: 457.3 kB / 1.344 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.7752, allocations: 376.8 kB / 1.345 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.7755, allocations: 186.5 kB / 1.345 GB, free: 11.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7757, allocations: 402.6 kB / 1.345 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.7771, allocations: 493.7 kB / 1.346 GB, free: 10.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.7787, allocations: 0.6047 MB / 1.346 GB, free: 10.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.7815, allocations: 1.066 MB / 1.347 GB, free: 8.973 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7816, allocations: 0 / 1.347 GB, free: 8.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003688/0.7852, allocations: 1.325 MB / 1.349 GB, free: 7.641 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7853, allocations: 4 kB / 1.349 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7853, allocations: 4 kB / 1.349 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.7858, allocations: 88.83 kB / 1.349 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7871, allocations: 259.6 kB / 1.349 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.789, allocations: 1.631 MB / 1.351 GB, free: 5.508 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7901, allocations: 170.1 kB / 1.351 GB, free: 5.344 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.7902, allocations: 39.97 kB / 1.351 GB, free: 5.305 MB / 1.076 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.0003881/0.7906, allocations: 290.7 kB / 1.351 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.7908, allocations: 107.3 kB / 1.351 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.7952, allocations: 1.672 MB / 1.353 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7952, allocations: 12 kB / 1.353 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.7952, allocations: 0 / 1.353 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7952, allocations: 15.91 kB / 1.353 GB, free: 3.191 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/0.8006, allocations: 2.81 MB / 1.356 GB, free: 332 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8006, allocations: 0 / 1.356 GB, free: 332 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.8019, allocations: 247.7 kB / 1.356 GB, free: 84 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.8023, allocations: 84.78 kB / 1.356 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.8024, allocations: 31.91 kB / 1.356 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.8042, allocations: 1.658 MB / 1.357 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8042, allocations: 0 / 1.357 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.808, allocations: 1.541 MB / 1.359 GB, free: 12.6 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.8084, allocations: 323.9 kB / 1.359 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.8086, allocations: 28 kB / 1.359 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8097, allocations: 119.9 kB / 1.359 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.8099, allocations: 88.88 kB / 1.36 GB, free: 12.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/0.81, allocations: 43.97 kB / 1.36 GB, free: 11.99 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005225/0.8105, allocations: 471 kB / 1.36 GB, free: 11.53 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8105, allocations: 0 / 1.36 GB, free: 11.53 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007987/0.8113, allocations: 403 kB / 1.36 GB, free: 11.14 MB / 1.092 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.005802/0.8171, allocations: 2.622 MB / 1.363 GB, free: 8.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.8205, allocations: 1.358 MB / 1.364 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8206, allocations: 0 / 1.364 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.8224, allocations: 0.8164 MB / 1.365 GB, free: 6.457 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.8236, allocations: 317.6 kB / 1.365 GB, free: 6.172 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.8389, allocations: 8.231 MB / 1.373 GB, free: 13.78 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.8395, allocations: 1.08 MB / 1.374 GB, free: 12.67 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8406, allocations: 355.8 kB / 1.375 GB, free: 12.32 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/0.8413, allocations: 459.2 kB / 1.375 GB, free: 11.87 MB / 1.107 GB Notification: Performance of SimCode: time 2.9e-07/0.8413, allocations: 0 / 1.375 GB, free: 11.87 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.423/4.265, allocations: 25.6 MB / 1.4 GB, free: 2.578 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.42/25.69, allocations: 6.062 kB / 1.4 GB, free: 2.574 MB / 1.123 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)