Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001147/0.001147, allocations: 101.7 kB / 16.27 MB, free: 5.984 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.001121/0.001121, allocations: 188.4 kB / 17.19 MB, free: 5.613 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 126.4 MB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.89 kB / 0.4953 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3492, allocations: 78.77 MB / 0.5723 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006709/0.3559, allocations: 5.373 MB / 0.5775 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1459/0.5018, allocations: 150.8 MB / 0.7248 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.5029, allocations: 23.88 kB / 0.7248 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.5035, allocations: 206 kB / 0.725 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.5053, allocations: 0.5807 MB / 0.7256 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.5074, allocations: 0.9375 MB / 0.7265 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.509, allocations: 1.616 MB / 0.7281 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009433/0.51, allocations: 0.7474 MB / 0.7288 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.5107, allocations: 0.5879 MB / 0.7294 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.5114, allocations: 0.6458 MB / 0.73 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.5116, allocations: 140 kB / 0.7302 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009352/0.5125, allocations: 0.4958 MB / 0.7306 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.5128, allocations: 370.8 kB / 0.731 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.5134, allocations: 0.6686 MB / 0.7317 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.5152, allocations: 1.869 MB / 0.7335 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5152, allocations: 4 kB / 0.7335 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5152, allocations: 0 / 0.7335 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5152, allocations: 4 kB / 0.7335 GB, free: 0.5547 MB / 0.5606 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.002889/0.5181, allocations: 1.669 MB / 0.7351 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5181, allocations: 11.97 kB / 0.7351 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.5233, allocations: 0.7561 MB / 0.7359 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5245, allocations: 0.8008 MB / 0.7366 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.5246, allocations: 82.2 kB / 0.7367 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.5247, allocations: 104 kB / 0.7368 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.5279, allocations: 1.44 MB / 0.7382 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5279, allocations: 0 / 0.7382 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.528, allocations: 51.98 kB / 0.7383 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5281, allocations: 28 kB / 0.7383 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.5327, allocations: 1.882 MB / 0.7401 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.5388, allocations: 3.651 MB / 0.7437 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.5422, allocations: 1.369 MB / 0.745 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.5438, allocations: 0.6057 MB / 0.7456 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/0.5444, allocations: 486.5 kB / 0.7461 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001905/0.5464, allocations: 0.801 MB / 0.7469 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 4.158e-06/0.5464, allocations: 3.984 kB / 0.7469 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.006211/0.5526, allocations: 1.981 MB / 0.7488 GB, free: 356 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.5527, allocations: 188.9 kB / 0.749 GB, free: 124 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2509/0.8036, allocations: 0.6477 MB / 0.7496 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.8039, allocations: 47.42 kB / 0.7497 GB, free: 170 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.8042, allocations: 439.3 kB / 0.7501 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.8046, allocations: 357.6 kB / 0.7504 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.805, allocations: 211 kB / 0.7506 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8052, allocations: 398.2 kB / 0.751 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.8069, allocations: 0.5045 MB / 0.7515 GB, free: 169 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.8086, allocations: 0.6118 MB / 0.7521 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.8119, allocations: 1.083 MB / 0.7532 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.8119, allocations: 0.5312 kB / 0.7532 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004293/0.8162, allocations: 1.377 MB / 0.7545 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.8162, allocations: 5.375 kB / 0.7545 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8162, allocations: 2.375 kB / 0.7545 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.8169, allocations: 85.38 kB / 0.7546 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.8184, allocations: 270.2 kB / 0.7549 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.8206, allocations: 1.626 MB / 0.7565 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8221, allocations: 165.8 kB / 0.7566 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.8223, allocations: 52.05 kB / 0.7567 GB, free: 166.3 MB / 0.5762 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.000636/0.823, allocations: 299.3 kB / 0.7569 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.8233, allocations: 92.66 kB / 0.757 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.828, allocations: 1.675 MB / 0.7587 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.828, allocations: 15.84 kB / 0.7587 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8281, allocations: 0.8125 kB / 0.7587 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8281, allocations: 3.281 kB / 0.7587 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.8335, allocations: 2.8 MB / 0.7614 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8336, allocations: 0 / 0.7614 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.8349, allocations: 251.2 kB / 0.7617 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.8353, allocations: 76.69 kB / 0.7617 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.8354, allocations: 35.25 kB / 0.7618 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.8369, allocations: 1.658 MB / 0.7634 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.837, allocations: 4.438 kB / 0.7634 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.8409, allocations: 1.528 MB / 0.7649 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.8414, allocations: 311 kB / 0.7652 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.8416, allocations: 31.48 kB / 0.7652 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.8429, allocations: 119.3 kB / 0.7653 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.843, allocations: 85.84 kB / 0.7654 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.8432, allocations: 52.3 kB / 0.7655 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005891/0.8437, allocations: 468.6 kB / 0.7659 GB, free: 161 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8438, allocations: 0 / 0.7659 GB, free: 161 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001159/0.8449, allocations: 410.3 kB / 0.7663 GB, free: 160.9 MB / 0.5762 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.001371/0.8463, allocations: 0.6295 MB / 0.7669 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004722/0.851, allocations: 1.659 MB / 0.7685 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8511, allocations: 5.438 kB / 0.7685 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8529, allocations: 0.8195 MB / 0.7693 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.8543, allocations: 311.1 kB / 0.7696 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.8583, allocations: 2.119 MB / 0.7717 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.8589, allocations: 1.089 MB / 0.7728 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001393/0.8603, allocations: 343.6 kB / 0.7731 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.8607, allocations: 128.4 kB / 0.7732 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.8607, allocations: 0 / 0.7732 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0249/0.8856, allocations: 18.31 MB / 0.7911 GB, free: 140 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)