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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001227/0.001227, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.89 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5254, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006144/0.5316, allocations: 5.399 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.6637, allocations: 148.5 MB / 1.167 GB, free: 8.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.6646, allocations: 15.94 kB / 1.167 GB, free: 8.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.6653, allocations: 154.7 kB / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.667, allocations: 499.2 kB / 1.168 GB, free: 7.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.6688, allocations: 0.8297 MB / 1.168 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.6699, allocations: 1.507 MB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008494/0.6707, allocations: 0.7222 MB / 1.171 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.6712, allocations: 0.5098 MB / 1.171 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.6718, allocations: 0.6183 MB / 1.172 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.6719, allocations: 72 kB / 1.172 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006425/0.6726, allocations: 435.6 kB / 1.172 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.6728, allocations: 290.8 kB / 1.173 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.6732, allocations: 0.6061 MB / 1.173 GB, free: 2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.6746, allocations: 1.807 MB / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6746, allocations: 8 kB / 1.175 GB, free: 184 kB / 0.92 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6746, allocations: 0 / 1.175 GB, free: 184 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.6746, allocations: 0 / 1.175 GB, free: 184 kB / 0.92 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.002769/0.6774, allocations: 1.676 MB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.6774, allocations: 12.03 kB / 1.177 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.6776, allocations: 173.1 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.6828, allocations: 0.7484 MB / 1.177 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.6838, allocations: 0.8121 MB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.6838, allocations: 82.2 kB / 1.178 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.684, allocations: 108 kB / 1.178 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.687, allocations: 1.436 MB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.687, allocations: 0 / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.6871, allocations: 47.98 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.6872, allocations: 28 kB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.6915, allocations: 1.885 MB / 1.182 GB, free: 8.988 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.00542/0.6969, allocations: 3.544 MB / 1.185 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.7, allocations: 1.386 MB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.7013, allocations: 0.5987 MB / 1.187 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.702, allocations: 482.6 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.7038, allocations: 0.801 MB / 1.188 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.234e-06/0.7038, allocations: 0 / 1.188 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.005624/0.7094, allocations: 1.981 MB / 1.19 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.7095, allocations: 192.9 kB / 1.19 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.7102, allocations: 0.645 MB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.7103, allocations: 49.7 kB / 1.191 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.7105, allocations: 444.5 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.7108, allocations: 354.9 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.7111, allocations: 190.5 kB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7112, allocations: 398.7 kB / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.7126, allocations: 493.7 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.714, allocations: 0.6086 MB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.7168, allocations: 1.054 MB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7168, allocations: 0 / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003509/0.7203, allocations: 1.333 MB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7203, allocations: 8 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7203, allocations: 4 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.7209, allocations: 80.89 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.7221, allocations: 263.6 kB / 1.196 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.7239, allocations: 1.526 MB / 1.198 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.7251, allocations: 168.5 kB / 1.198 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.7251, allocations: 39.97 kB / 1.198 GB, free: 7.844 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.0003821/0.7255, allocations: 286.8 kB / 1.198 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.7257, allocations: 106.7 kB / 1.198 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.7299, allocations: 1.668 MB / 1.2 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.7299, allocations: 12 kB / 1.2 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.7299, allocations: 4 kB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.7299, allocations: 7.969 kB / 1.2 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.7349, allocations: 2.802 MB / 1.203 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7349, allocations: 0 / 1.203 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7361, allocations: 263.6 kB / 1.203 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.7366, allocations: 80.72 kB / 1.203 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.7367, allocations: 39.97 kB / 1.203 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.7383, allocations: 1.544 MB / 1.205 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7383, allocations: 3.938 kB / 1.205 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.7419, allocations: 1.527 MB / 1.206 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.7423, allocations: 315.5 kB / 1.206 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7424, allocations: 24 kB / 1.206 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.7436, allocations: 127.9 kB / 1.207 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.7437, allocations: 88.81 kB / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.7438, allocations: 47.95 kB / 1.207 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004845/0.7443, allocations: 475 kB / 1.207 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7443, allocations: 0 / 1.207 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008299/0.7452, allocations: 395 kB / 1.207 GB, free: 13.8 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.00504/0.7502, allocations: 2.62 MB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003213/0.7534, allocations: 1.351 MB / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7535, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.7552, allocations: 0.8163 MB / 1.212 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7564, allocations: 290.7 kB / 1.212 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.7722, allocations: 8.969 MB / 1.221 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.7728, allocations: 1.084 MB / 1.222 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7741, allocations: 339.8 kB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.7748, allocations: 463.2 kB / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.7748, allocations: 0 / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.385/3.16, allocations: 24.45 MB / 1.247 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/3.16, allocations: 326.4 kB / 1.247 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/5.636, allocations: 0 / 1.247 GB, free: 5.414 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)