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.0008017/0.0008017, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0007751/0.0007751, allocations: 172.2 kB / 16.26 MB, free: 6.664 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.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.255/2.255, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002992, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4991, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005009/0.5041, allocations: 4.967 MB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.6385, allocations: 146.9 MB / 1.171 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.6391, allocations: 19.88 kB / 1.171 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.6397, allocations: 162.8 kB / 1.172 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.6411, allocations: 489.1 kB / 1.172 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.6428, allocations: 0.8334 MB / 1.173 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.6443, allocations: 1.511 MB / 1.174 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009197/0.6452, allocations: 0.7104 MB / 1.175 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.6458, allocations: 430.1 kB / 1.175 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.6464, allocations: 0.5052 MB / 1.176 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.6465, allocations: 32 kB / 1.176 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.6472, allocations: 395.7 kB / 1.176 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.6474, allocations: 227 kB / 1.177 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.6478, allocations: 0.5569 MB / 1.177 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.6493, allocations: 1.748 MB / 1.179 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6493, allocations: 0 / 1.179 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6493, allocations: 0 / 1.179 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6493, allocations: 0 / 1.179 GB, free: 15.75 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.002493/0.6518, allocations: 1.419 MB / 1.18 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6519, allocations: 8.031 kB / 1.18 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.652, allocations: 169.1 kB / 1.18 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.657, allocations: 0.8264 MB / 1.181 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.6582, allocations: 0.8083 MB / 1.182 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.6583, allocations: 82.2 kB / 1.182 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.6585, allocations: 104 kB / 1.182 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.6615, allocations: 1.467 MB / 1.184 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6616, allocations: 0 / 1.184 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6617, allocations: 47.94 kB / 1.184 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6617, allocations: 24 kB / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/0.6661, allocations: 1.944 MB / 1.186 GB, free: 8.668 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.005671/0.6718, allocations: 3.582 MB / 1.189 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.675, allocations: 1.393 MB / 1.19 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.6765, allocations: 0.6103 MB / 1.191 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.6771, allocations: 482.5 kB / 1.191 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.6789, allocations: 0.8128 MB / 1.192 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.455e-06/0.6789, allocations: 0 / 1.192 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.005679/0.6846, allocations: 2 MB / 1.194 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.6847, allocations: 200.9 kB / 1.194 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.6854, allocations: 0.6451 MB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.6855, allocations: 45.7 kB / 1.195 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.6858, allocations: 440.6 kB / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.686, allocations: 354.9 kB / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.6862, allocations: 77.67 kB / 1.196 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6863, allocations: 398.7 kB / 1.196 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6877, allocations: 497.7 kB / 1.197 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.6892, allocations: 0.6164 MB / 1.197 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.6919, allocations: 1.078 MB / 1.198 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.692, allocations: 0 / 1.198 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003553/0.6955, allocations: 1.34 MB / 1.2 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6955, allocations: 12.12 kB / 1.2 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6956, allocations: 0 / 1.2 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.6961, allocations: 84.78 kB / 1.2 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.6974, allocations: 263.6 kB / 1.2 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.6992, allocations: 1.532 MB / 1.202 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7003, allocations: 167.1 kB / 1.202 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/0.7004, allocations: 51.94 kB / 1.202 GB, free: 7.477 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.0004105/0.7008, allocations: 290.1 kB / 1.202 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.701, allocations: 102.7 kB / 1.202 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.7053, allocations: 1.688 MB / 1.204 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.7054, allocations: 12 kB / 1.204 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7054, allocations: 0 / 1.204 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.7054, allocations: 3.984 kB / 1.204 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/0.7106, allocations: 2.822 MB / 1.207 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7107, allocations: 0 / 1.207 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.7119, allocations: 259.6 kB / 1.207 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.7124, allocations: 88.7 kB / 1.207 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/0.7125, allocations: 39.97 kB / 1.207 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.7142, allocations: 1.544 MB / 1.208 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7142, allocations: 0 / 1.208 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.7179, allocations: 1.554 MB / 1.21 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.7183, allocations: 331.4 kB / 1.21 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.7185, allocations: 20 kB / 1.21 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.7197, allocations: 144.5 kB / 1.21 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.7198, allocations: 92.75 kB / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.7199, allocations: 47.97 kB / 1.211 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005175/0.7205, allocations: 471 kB / 1.211 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.433e-06/0.7205, allocations: 0 / 1.211 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009264/0.7214, allocations: 407 kB / 1.211 GB, free: 13.34 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.005123/0.7265, allocations: 2.615 MB / 1.214 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003371/0.7299, allocations: 1.366 MB / 1.215 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7299, allocations: 4 kB / 1.215 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.7317, allocations: 0.828 MB / 1.216 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.733, allocations: 297.5 kB / 1.216 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7496, allocations: 9.026 MB / 1.225 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.7502, allocations: 1.088 MB / 1.226 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001305/0.7515, allocations: 339.9 kB / 1.227 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.7522, allocations: 467.2 kB / 1.227 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.7522, allocations: 0 / 1.227 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.794, allocations: 24.1 MB / 1.251 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.7943, allocations: 324.4 kB / 1.251 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.071, allocations: 0 / 1.251 GB, free: 5.227 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)