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.001142/0.001142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009911/0.0009911, allocations: 191 kB / 16.25 MB, free: 6.625 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.232/2.232, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4608, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005818/0.4666, allocations: 5.403 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.5915, allocations: 148.6 MB / 1.167 GB, free: 8.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.5923, allocations: 19.94 kB / 1.167 GB, free: 8.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.5929, allocations: 170.6 kB / 1.167 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5946, allocations: 0.5051 MB / 1.168 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.5964, allocations: 0.8468 MB / 1.169 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.5978, allocations: 1.612 MB / 1.17 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.5988, allocations: 0.7357 MB / 1.171 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.5994, allocations: 0.6035 MB / 1.172 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.6001, allocations: 0.6434 MB / 1.172 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.6003, allocations: 144 kB / 1.172 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.6011, allocations: 0.4996 MB / 1.173 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.6014, allocations: 362.9 kB / 1.173 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.6019, allocations: 0.6763 MB / 1.174 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.6035, allocations: 1.873 MB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6035, allocations: 0 / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6035, allocations: 0 / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.6035, allocations: 0 / 1.176 GB, free: 15.39 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.002878/0.6064, allocations: 1.672 MB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6064, allocations: 12.03 kB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.6066, allocations: 165.1 kB / 1.178 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.6115, allocations: 0.7562 MB / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6125, allocations: 0.8199 MB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.6126, allocations: 82.2 kB / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6127, allocations: 112 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.6156, allocations: 1.432 MB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6157, allocations: 4 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.6158, allocations: 44 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.6158, allocations: 28 kB / 1.181 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.62, allocations: 1.893 MB / 1.183 GB, free: 8.188 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.005453/0.6255, allocations: 3.538 MB / 1.186 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.6285, allocations: 1.38 MB / 1.187 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.6298, allocations: 0.5987 MB / 1.188 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.6304, allocations: 482.5 kB / 1.188 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.6322, allocations: 0.8127 MB / 1.189 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.114e-06/0.6322, allocations: 0 / 1.189 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.005559/0.6378, allocations: 1.969 MB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.6379, allocations: 192.9 kB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.6385, allocations: 0.649 MB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.6386, allocations: 49.64 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.6389, allocations: 440.5 kB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6391, allocations: 354.8 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.6394, allocations: 186.5 kB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6396, allocations: 402.7 kB / 1.193 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.6409, allocations: 489.7 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.6423, allocations: 0.6086 MB / 1.194 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.645, allocations: 1.062 MB / 1.195 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.645, allocations: 0 / 1.195 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003473/0.6485, allocations: 1.333 MB / 1.197 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6485, allocations: 4 kB / 1.197 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6485, allocations: 4 kB / 1.197 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.6491, allocations: 84.89 kB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.6503, allocations: 259.6 kB / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.6522, allocations: 1.648 MB / 1.199 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6533, allocations: 163.1 kB / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.6534, allocations: 39.97 kB / 1.199 GB, free: 6.926 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.0003694/0.6538, allocations: 290 kB / 1.199 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.654, allocations: 94.88 kB / 1.199 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.6582, allocations: 1.68 MB / 1.201 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6582, allocations: 12 kB / 1.201 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6582, allocations: 0 / 1.201 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.6582, allocations: 11.92 kB / 1.201 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.6632, allocations: 2.802 MB / 1.204 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6632, allocations: 0 / 1.204 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.6645, allocations: 255.6 kB / 1.204 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.6649, allocations: 72.8 kB / 1.204 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.665, allocations: 35.97 kB / 1.204 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6666, allocations: 1.662 MB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6666, allocations: 0 / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.6702, allocations: 1.531 MB / 1.207 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.6706, allocations: 319.5 kB / 1.207 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6707, allocations: 24 kB / 1.207 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6719, allocations: 126.1 kB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.6721, allocations: 89.02 kB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.6722, allocations: 47.97 kB / 1.208 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004648/0.6727, allocations: 475 kB / 1.208 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6727, allocations: 0 / 1.208 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008079/0.6735, allocations: 395 kB / 1.209 GB, free: 12.78 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.005045/0.6785, allocations: 2.599 MB / 1.211 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004185/0.6827, allocations: 1.632 MB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6827, allocations: 0 / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.6845, allocations: 0.8202 MB / 1.213 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6857, allocations: 320.6 kB / 1.214 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.7014, allocations: 8.96 MB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.7019, allocations: 1.091 MB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0013/0.7033, allocations: 343.8 kB / 1.224 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/0.7039, allocations: 463.2 kB / 1.224 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.7039, allocations: 4 kB / 1.224 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/1.091, allocations: 25.12 MB / 1.249 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/1.091, allocations: 326.6 kB / 1.249 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.461, allocations: 4.062 kB / 1.249 GB, free: 3.426 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)