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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001036/0.001036, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003052/0.003052, allocations: 286.8 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9575/0.9575, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 90.61 kB / 0.5945 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1442, allocations: 86.98 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006012/0.1503, allocations: 4.645 MB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4262/0.5765, allocations: 148.4 MB / 0.8289 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.5774, allocations: 20.38 kB / 0.8289 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.5779, allocations: 142.7 kB / 0.8291 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.5792, allocations: 441.3 kB / 0.8295 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.581, allocations: 0.8122 MB / 0.8303 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5824, allocations: 1.393 MB / 0.8317 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.5833, allocations: 0.7784 MB / 0.8324 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.584, allocations: 0.4967 MB / 0.8329 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.5846, allocations: 0.5905 MB / 0.8335 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.5848, allocations: 73.06 kB / 0.8336 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008868/0.5857, allocations: 435.1 kB / 0.834 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.586, allocations: 291.3 kB / 0.8342 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.5866, allocations: 0.5837 MB / 0.8348 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.5891, allocations: 1.765 MB / 0.8365 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5891, allocations: 0.5625 kB / 0.8365 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5892, allocations: 4.844 kB / 0.8365 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.5892, allocations: 0 / 0.8365 GB, free: 15.68 MB / 0.5762 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.003297/0.5925, allocations: 1.652 MB / 0.8382 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5925, allocations: 9.625 kB / 0.8382 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.598, allocations: 0.7592 MB / 0.8389 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5992, allocations: 0.8031 MB / 0.8397 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.5993, allocations: 89.23 kB / 0.8398 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.5995, allocations: 104.1 kB / 0.8399 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.6028, allocations: 1.436 MB / 0.8413 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6029, allocations: 1.312 kB / 0.8413 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.603, allocations: 48.34 kB / 0.8413 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.603, allocations: 26.94 kB / 0.8414 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004473/0.6075, allocations: 1.891 MB / 0.8432 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/0.614, allocations: 3.264 MB / 0.8464 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.6173, allocations: 1.374 MB / 0.8477 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.6188, allocations: 0.5984 MB / 0.8483 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.6194, allocations: 484.1 kB / 0.8488 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.6214, allocations: 0.8017 MB / 0.8496 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 2.995e-06/0.6214, allocations: 0 / 0.8496 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005925/0.6273, allocations: 1.977 MB / 0.8515 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6275, allocations: 193.6 kB / 0.8517 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.6283, allocations: 0.6486 MB / 0.8523 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.6284, allocations: 49.05 kB / 0.8523 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.6288, allocations: 433.3 kB / 0.8528 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.6291, allocations: 359.4 kB / 0.8531 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.6295, allocations: 204 kB / 0.8533 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6296, allocations: 402.6 kB / 0.8537 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6311, allocations: 0.5014 MB / 0.8542 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.6326, allocations: 0.6078 MB / 0.8548 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.6354, allocations: 1.077 MB / 0.8558 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.6354, allocations: 13.88 kB / 0.8558 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003849/0.6392, allocations: 1.37 MB / 0.8572 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6393, allocations: 6.812 kB / 0.8572 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6393, allocations: 4.125 kB / 0.8572 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.6399, allocations: 82.14 kB / 0.8573 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.6413, allocations: 269.6 kB / 0.8575 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.6433, allocations: 1.523 MB / 0.859 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6448, allocations: 163.2 kB / 0.8592 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.6449, allocations: 46 kB / 0.8592 GB, free: 1.961 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.0005849/0.6455, allocations: 293.8 kB / 0.8595 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6457, allocations: 89.72 kB / 0.8596 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/0.6502, allocations: 1.681 MB / 0.8612 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.6502, allocations: 12.38 kB / 0.8612 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6502, allocations: 0 / 0.8612 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6503, allocations: 7.969 kB / 0.8612 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.6562, allocations: 2.848 MB / 0.864 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6563, allocations: 0 / 0.864 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.6577, allocations: 254.8 kB / 0.8643 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.6582, allocations: 85.8 kB / 0.8643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/0.6583, allocations: 40.75 kB / 0.8644 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.6601, allocations: 1.548 MB / 0.8659 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.6601, allocations: 4 kB / 0.8659 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.6642, allocations: 1.528 MB / 0.8674 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.6647, allocations: 318.2 kB / 0.8677 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6649, allocations: 27.67 kB / 0.8677 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6662, allocations: 119.6 kB / 0.8678 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.6664, allocations: 88.59 kB / 0.8679 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.6665, allocations: 50.73 kB / 0.868 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006304/0.6671, allocations: 471.2 kB / 0.8684 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6672, allocations: 0 / 0.8684 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001126/0.6683, allocations: 386.1 kB / 0.8688 GB, free: 11.74 MB / 0.5919 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.001453/0.6697, allocations: 0.6389 MB / 0.8694 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00363/0.6734, allocations: 1.38 MB / 0.8707 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6734, allocations: 7.125 kB / 0.8708 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.6753, allocations: 0.8079 MB / 0.8715 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6766, allocations: 271.5 kB / 0.8718 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.682, allocations: 2.731 MB / 0.8745 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.6826, allocations: 1.088 MB / 0.8755 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001595/0.6842, allocations: 331.7 kB / 0.8758 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.6847, allocations: 127.4 kB / 0.876 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of SimCode: time 1.253e-06/0.6847, allocations: 0 / 0.876 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.02763/0.7123, allocations: 17.48 MB / 0.893 GB, free: 4.609 MB / 0.6075 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)