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.001266/0.001266, allocations: 107 kB / 16.37 MB, free: 5.539 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.001208/0.001208, allocations: 194.2 kB / 17.31 MB, free: 5.18 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00283/0.00283, allocations: 285.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.998/0.998, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 92.97 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2298, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007593/0.2375, allocations: 4.65 MB / 0.6861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6848/0.9224, allocations: 150.7 MB / 0.8334 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.9239, allocations: 19.94 kB / 0.8334 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.9246, allocations: 186.2 kB / 0.8336 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.927, allocations: 0.5055 MB / 0.834 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.9301, allocations: 0.9355 MB / 0.835 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002234/0.9324, allocations: 1.5 MB / 0.8364 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.9336, allocations: 0.8023 MB / 0.8372 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.9345, allocations: 0.5683 MB / 0.8378 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007937/0.9353, allocations: 0.6263 MB / 0.8384 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.9355, allocations: 148 kB / 0.8385 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.9368, allocations: 0.5267 MB / 0.839 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.9371, allocations: 358.8 kB / 0.8394 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.9378, allocations: 0.649 MB / 0.84 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.9403, allocations: 1.868 MB / 0.8418 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.9403, allocations: 0 / 0.8418 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.007e-06/0.9403, allocations: 0 / 0.8418 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.226e-05/0.9404, allocations: 0 / 0.8418 GB, free: 10.19 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.00338/0.9438, allocations: 1.665 MB / 0.8435 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9438, allocations: 8.031 kB / 0.8435 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.9488, allocations: 0.7522 MB / 0.8442 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.9503, allocations: 0.8361 MB / 0.845 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.9504, allocations: 86.14 kB / 0.8451 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.9506, allocations: 104 kB / 0.8452 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.9539, allocations: 1.432 MB / 0.8466 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.9539, allocations: 0 / 0.8466 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.9541, allocations: 52 kB / 0.8466 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.9541, allocations: 24 kB / 0.8467 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004656/0.9588, allocations: 1.889 MB / 0.8485 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006598/0.9654, allocations: 3.234 MB / 0.8517 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.9687, allocations: 1.372 MB / 0.853 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.9702, allocations: 0.6019 MB / 0.8536 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007809/0.971, allocations: 486.5 kB / 0.8541 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.9729, allocations: 0.7933 MB / 0.8548 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 2.995e-06/0.9729, allocations: 4 kB / 0.8548 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=109): time 0.005862/0.9788, allocations: 1.973 MB / 0.8568 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.9789, allocations: 200.9 kB / 0.857 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.9799, allocations: 0.6489 MB / 0.8576 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/0.9801, allocations: 41.7 kB / 0.8576 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.9805, allocations: 444.5 kB / 0.8581 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.9808, allocations: 354.8 kB / 0.8584 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/0.9812, allocations: 202.5 kB / 0.8586 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.9814, allocations: 398.7 kB / 0.859 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9827, allocations: 0.5016 MB / 0.8595 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.9842, allocations: 0.6091 MB / 0.8601 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.987, allocations: 1.082 MB / 0.8611 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.9871, allocations: 7.938 kB / 0.8611 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003803/0.9909, allocations: 1.368 MB / 0.8625 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.9909, allocations: 6.031 kB / 0.8625 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9909, allocations: 4.125 kB / 0.8625 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.9915, allocations: 84.77 kB / 0.8625 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.9929, allocations: 267.6 kB / 0.8628 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.9956, allocations: 1.635 MB / 0.8644 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.9972, allocations: 159.2 kB / 0.8645 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.9973, allocations: 52.77 kB / 0.8646 GB, free: 2.191 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.0008027/0.9981, allocations: 283.4 kB / 0.8649 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.9984, allocations: 98.8 kB / 0.865 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/1.003, allocations: 1.674 MB / 0.8666 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.003, allocations: 16 kB / 0.8666 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.003, allocations: 0 / 0.8666 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.003, allocations: 7.984 kB / 0.8666 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/1.01, allocations: 2.841 MB / 0.8694 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.01, allocations: 3.938 kB / 0.8694 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.012, allocations: 259.6 kB / 0.8696 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.012, allocations: 72.78 kB / 0.8697 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/1.012, allocations: 35.97 kB / 0.8697 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/1.014, allocations: 1.646 MB / 0.8714 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.014, allocations: 0 / 0.8714 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.018, allocations: 1.537 MB / 0.8729 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/1.019, allocations: 323.4 kB / 0.8732 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.019, allocations: 28 kB / 0.8732 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.021, allocations: 123.9 kB / 0.8733 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/1.021, allocations: 84.88 kB / 0.8734 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.021, allocations: 43.97 kB / 0.8734 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006923/1.022, allocations: 471 kB / 0.8739 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.022, allocations: 3.938 kB / 0.8739 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001248/1.023, allocations: 387.1 kB / 0.8743 GB, free: 8.035 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.001694/1.025, allocations: 0.6313 MB / 0.8749 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003749/1.028, allocations: 1.386 MB / 0.8762 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.028, allocations: 0 / 0.8762 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.03, allocations: 0.8242 MB / 0.877 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.032, allocations: 300.6 kB / 0.8773 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/1.037, allocations: 2.202 MB / 0.8795 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/1.038, allocations: 1.084 MB / 0.8805 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001356/1.039, allocations: 347.6 kB / 0.8809 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/1.04, allocations: 131.3 kB / 0.881 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/1.04, allocations: 4 kB / 0.881 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of Templates: time 0.03525/1.075, allocations: 18.21 MB / 0.8988 GB, free: 15.29 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)