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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 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.001121/0.001121, allocations: 198 kB / 16.54 MB, free: 6.672 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.228/2.228, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4669, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006074/0.473, allocations: 5.409 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.127/0.6, allocations: 150.8 MB / 1.17 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.6008, allocations: 15.94 kB / 1.17 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.6014, allocations: 202 kB / 1.17 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.603, allocations: 0.5821 MB / 1.171 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.6048, allocations: 0.948 MB / 1.172 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.6063, allocations: 1.616 MB / 1.173 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.6072, allocations: 0.7357 MB / 1.174 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.6078, allocations: 0.5918 MB / 1.175 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.6085, allocations: 0.6437 MB / 1.175 GB, free: 260 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.6087, allocations: 144 kB / 1.175 GB, free: 116 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.6095, allocations: 0.4957 MB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.6098, allocations: 362.9 kB / 1.176 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005551/0.6104, allocations: 0.6763 MB / 1.177 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.6121, allocations: 1.869 MB / 1.179 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6121, allocations: 0 / 1.179 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6121, allocations: 0 / 1.179 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.6121, allocations: 0 / 1.179 GB, free: 12.71 MB / 0.9356 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.002796/0.6149, allocations: 1.676 MB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.615, allocations: 12.03 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.6151, allocations: 169.1 kB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.62, allocations: 0.7562 MB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6211, allocations: 0.8121 MB / 1.182 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.6211, allocations: 82.2 kB / 1.182 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.6213, allocations: 104 kB / 1.182 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.6241, allocations: 1.432 MB / 1.184 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6242, allocations: 4 kB / 1.184 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.6243, allocations: 44 kB / 1.184 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6243, allocations: 28 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.6286, allocations: 1.889 MB / 1.185 GB, free: 5.512 MB / 0.9356 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.005394/0.634, allocations: 3.55 MB / 1.189 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.6372, allocations: 1.378 MB / 1.19 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.6387, allocations: 0.606 MB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.6392, allocations: 474.5 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.641, allocations: 0.8204 MB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=109): time 2.726e-06/0.641, allocations: 0 / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109): time 0.005746/0.6468, allocations: 1.969 MB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.6469, allocations: 192.9 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.6475, allocations: 0.649 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/0.6476, allocations: 49.7 kB / 1.195 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.6479, allocations: 436.5 kB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.6481, allocations: 358.8 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.6484, allocations: 190.5 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6485, allocations: 398.7 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.6499, allocations: 493.7 kB / 1.197 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.6514, allocations: 0.6086 MB / 1.197 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.6542, allocations: 1.058 MB / 1.198 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6542, allocations: 0 / 1.198 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003605/0.6578, allocations: 1.325 MB / 1.2 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6579, allocations: 12.12 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6579, allocations: 0 / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.6584, allocations: 80.78 kB / 1.2 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.6597, allocations: 259.6 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.6615, allocations: 1.638 MB / 1.202 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6626, allocations: 159.1 kB / 1.202 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.6627, allocations: 48.03 kB / 1.202 GB, free: 4.246 MB / 0.9512 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.0003733/0.6631, allocations: 297.5 kB / 1.202 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6633, allocations: 90.88 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.6676, allocations: 1.672 MB / 1.204 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6676, allocations: 12 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6676, allocations: 0 / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6676, allocations: 15.91 kB / 1.204 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.6727, allocations: 2.794 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6728, allocations: 4 kB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.674, allocations: 255.7 kB / 1.207 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/0.6744, allocations: 80.59 kB / 1.207 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.6745, allocations: 35.97 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.6761, allocations: 1.662 MB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6761, allocations: 4.062 kB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.6798, allocations: 1.527 MB / 1.21 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.6802, allocations: 315.5 kB / 1.21 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.6804, allocations: 28 kB / 1.21 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6815, allocations: 119.9 kB / 1.21 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.6817, allocations: 88.88 kB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.6818, allocations: 43.97 kB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004861/0.6823, allocations: 475 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6823, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008065/0.6831, allocations: 399 kB / 1.211 GB, free: 10.09 MB / 0.9669 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.005076/0.6882, allocations: 2.607 MB / 1.214 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004254/0.6925, allocations: 1.628 MB / 1.216 GB, free: 6 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6925, allocations: 0 / 1.216 GB, free: 6 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.6943, allocations: 0.8164 MB / 1.216 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6954, allocations: 320 kB / 1.217 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.7101, allocations: 8.485 MB / 1.225 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.7106, allocations: 1.084 MB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001248/0.7119, allocations: 339.8 kB / 1.226 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.7126, allocations: 463.2 kB / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.7126, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5009/1.213, allocations: 25.34 MB / 1.252 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.86, allocations: 4.281 kB / 1.252 GB, free: 1.379 MB / 0.9981 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=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)