Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001074/0.001074, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.286/1.286, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 288.9 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 90.45 kB / 0.5953 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1761, allocations: 86.98 MB / 0.6803 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006275/0.1824, allocations: 4.649 MB / 0.6848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5199/0.7024, allocations: 148.5 MB / 0.8298 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.7033, allocations: 19.94 kB / 0.8299 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.7039, allocations: 145 kB / 0.83 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.7055, allocations: 452.9 kB / 0.8304 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.7076, allocations: 0.8521 MB / 0.8313 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.709, allocations: 1.488 MB / 0.8327 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.71, allocations: 0.802 MB / 0.8335 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.7107, allocations: 0.5761 MB / 0.8341 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.7113, allocations: 0.6223 MB / 0.8347 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.7115, allocations: 148 kB / 0.8348 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/0.7125, allocations: 0.4957 MB / 0.8353 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.7128, allocations: 362.9 kB / 0.8356 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005415/0.7133, allocations: 0.6452 MB / 0.8363 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.7148, allocations: 1.394 MB / 0.8376 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7149, allocations: 0 / 0.8376 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7149, allocations: 0 / 0.8376 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.7149, allocations: 4 kB / 0.8376 GB, free: 14.14 MB / 0.6075 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.003042/0.7179, allocations: 1.658 MB / 0.8393 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.718, allocations: 12.03 kB / 0.8393 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.7231, allocations: 0.7522 MB / 0.84 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.7244, allocations: 0.8127 MB / 0.8408 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.7245, allocations: 86.2 kB / 0.8409 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7246, allocations: 104 kB / 0.841 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.7278, allocations: 1.436 MB / 0.8424 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.7279, allocations: 4 kB / 0.8424 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.728, allocations: 40 kB / 0.8424 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.728, allocations: 28 kB / 0.8425 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.7327, allocations: 1.893 MB / 0.8443 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00621/0.7389, allocations: 3.265 MB / 0.8475 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.7422, allocations: 1.368 MB / 0.8488 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.7436, allocations: 0.5956 MB / 0.8494 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.7443, allocations: 478.5 kB / 0.8499 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.7461, allocations: 0.8127 MB / 0.8507 GB, free: 456 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=109): time 2.725e-06/0.7461, allocations: 0 / 0.8507 GB, free: 456 kB / 0.6075 GB Notification: Performance of matching and sorting (n=109): time 0.005897/0.752, allocations: 1.973 MB / 0.8526 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7522, allocations: 192.9 kB / 0.8528 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.753, allocations: 0.6528 MB / 0.8534 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.7531, allocations: 49.7 kB / 0.8535 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.7535, allocations: 436.5 kB / 0.8539 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.7538, allocations: 356.7 kB / 0.8542 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.7542, allocations: 202.5 kB / 0.8544 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.7544, allocations: 394.7 kB / 0.8548 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.7558, allocations: 0.4977 MB / 0.8553 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.7573, allocations: 0.6169 MB / 0.8559 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.7601, allocations: 1.074 MB / 0.8569 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7602, allocations: 3.938 kB / 0.8569 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00397/0.7641, allocations: 1.372 MB / 0.8583 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7642, allocations: 4 kB / 0.8583 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7642, allocations: 0 / 0.8583 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.7648, allocations: 88.84 kB / 0.8584 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.7663, allocations: 271.6 kB / 0.8586 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.7685, allocations: 1.629 MB / 0.8602 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.7699, allocations: 163.2 kB / 0.8604 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.77, allocations: 43.97 kB / 0.8604 GB, free: 6.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (124): * Single equations (assignments): 123 * 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.0006471/0.7707, allocations: 302.9 kB / 0.8607 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.7709, allocations: 94.81 kB / 0.8608 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.7755, allocations: 1.671 MB / 0.8624 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.7755, allocations: 12 kB / 0.8624 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7756, allocations: 4 kB / 0.8624 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.7756, allocations: 11.95 kB / 0.8624 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.7817, allocations: 2.836 MB / 0.8652 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.7817, allocations: 7.922 kB / 0.8652 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.7831, allocations: 251.6 kB / 0.8655 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.7836, allocations: 76.78 kB / 0.8655 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.7837, allocations: 35.97 kB / 0.8656 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.7857, allocations: 1.654 MB / 0.8672 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7857, allocations: 4.062 kB / 0.8672 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.7899, allocations: 1.523 MB / 0.8687 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.7905, allocations: 323.4 kB / 0.869 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.7907, allocations: 32 kB / 0.869 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7919, allocations: 123.9 kB / 0.8691 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.7921, allocations: 84.88 kB / 0.8692 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7922, allocations: 43.97 kB / 0.8692 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006242/0.7928, allocations: 475 kB / 0.8697 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7929, allocations: 0 / 0.8697 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001115/0.794, allocations: 387 kB / 0.8701 GB, free: 12 MB / 0.6387 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.001475/0.7955, allocations: 0.6373 MB / 0.8707 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004927/0.8004, allocations: 1.651 MB / 0.8723 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8004, allocations: 0 / 0.8723 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.8024, allocations: 0.8241 MB / 0.8731 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.8039, allocations: 304 kB / 0.8734 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.8094, allocations: 2.762 MB / 0.8761 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.8101, allocations: 1.084 MB / 0.8772 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/0.8107, allocations: 147.3 kB / 0.8773 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.8107, allocations: 0 / 0.8773 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of Templates: time 0.03313/0.8439, allocations: 22.53 MB / 0.8993 GB, free: 14.32 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)