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.0009667/0.0009668, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.005684/0.005684, allocations: 170.1 kB / 16.26 MB, free: 6.617 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 274.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9516/0.9516, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 19.14 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004878/0.149, allocations: 4.215 MB / 0.6892 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4373/0.5864, allocations: 146.8 MB / 0.8326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.587, allocations: 18.75 kB / 0.8327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.5875, allocations: 150 kB / 0.8328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5888, allocations: 424.7 kB / 0.8332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.5907, allocations: 0.8264 MB / 0.834 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.592, allocations: 1.393 MB / 0.8354 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5931, allocations: 0.7548 MB / 0.8361 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.5936, allocations: 415 kB / 0.8365 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.5942, allocations: 485.2 kB / 0.837 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.5943, allocations: 33.12 kB / 0.837 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.5951, allocations: 401.3 kB / 0.8374 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.5953, allocations: 230.2 kB / 0.8376 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.5957, allocations: 0.5229 MB / 0.8381 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.597, allocations: 1.701 MB / 0.8398 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5971, allocations: 0 / 0.8398 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5971, allocations: 0 / 0.8398 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.5971, allocations: 3.375 kB / 0.8398 GB, free: 8.016 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.002546/0.5996, allocations: 1.399 MB / 0.8411 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.5997, allocations: 9.625 kB / 0.8412 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/0.6049, allocations: 0.8263 MB / 0.842 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.606, allocations: 0.8114 MB / 0.8428 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.6061, allocations: 83.3 kB / 0.8428 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.6063, allocations: 107 kB / 0.8429 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.6094, allocations: 1.46 MB / 0.8444 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6095, allocations: 0 / 0.8444 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.6096, allocations: 46.88 kB / 0.8444 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.6096, allocations: 27.09 kB / 0.8444 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00452/0.6141, allocations: 1.943 MB / 0.8463 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/0.6199, allocations: 3.318 MB / 0.8496 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.6232, allocations: 1.377 MB / 0.8509 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.6247, allocations: 0.6179 MB / 0.8515 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.6253, allocations: 472.9 kB / 0.852 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.6272, allocations: 0.8155 MB / 0.8528 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 2.505e-06/0.6272, allocations: 0 / 0.8528 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005968/0.6332, allocations: 1.992 MB / 0.8547 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.6333, allocations: 194.8 kB / 0.8549 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.6341, allocations: 0.6544 MB / 0.8555 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.6342, allocations: 47.11 kB / 0.8556 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.6345, allocations: 439.3 kB / 0.856 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.6348, allocations: 352.6 kB / 0.8563 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.6349, allocations: 90.23 kB / 0.8564 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6351, allocations: 394.3 kB / 0.8568 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.6365, allocations: 0.5061 MB / 0.8573 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.6381, allocations: 0.6257 MB / 0.8579 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.6411, allocations: 1.096 MB / 0.859 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6411, allocations: 0 / 0.859 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00382/0.6449, allocations: 1.381 MB / 0.8603 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6449, allocations: 6.344 kB / 0.8603 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6449, allocations: 2.938 kB / 0.8603 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.6455, allocations: 83.31 kB / 0.8604 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.6469, allocations: 274.6 kB / 0.8607 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6488, allocations: 1.528 MB / 0.8622 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.6502, allocations: 171.2 kB / 0.8623 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/0.6503, allocations: 53.67 kB / 0.8624 GB, free: 9.195 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.0004979/0.6508, allocations: 296.4 kB / 0.8627 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.6509, allocations: 98.55 kB / 0.8628 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.6556, allocations: 1.688 MB / 0.8644 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6556, allocations: 12 kB / 0.8644 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6556, allocations: 0 / 0.8644 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.6556, allocations: 7.984 kB / 0.8644 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.6616, allocations: 2.859 MB / 0.8672 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6617, allocations: 0 / 0.8672 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.663, allocations: 251.7 kB / 0.8675 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/0.6635, allocations: 96.7 kB / 0.8675 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.6636, allocations: 39.89 kB / 0.8676 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.6654, allocations: 1.552 MB / 0.8691 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6654, allocations: 0 / 0.8691 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.6694, allocations: 1.546 MB / 0.8706 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.6699, allocations: 331.3 kB / 0.8709 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.67, allocations: 31.98 kB / 0.871 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6713, allocations: 133.5 kB / 0.8711 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.6715, allocations: 92.88 kB / 0.8712 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6716, allocations: 51.89 kB / 0.8712 GB, free: 500 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005457/0.6721, allocations: 467 kB / 0.8717 GB, free: 36 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6722, allocations: 0 / 0.8717 GB, free: 36 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009872/0.6731, allocations: 387.1 kB / 0.872 GB, free: 15.66 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.001394/0.6745, allocations: 0.6249 MB / 0.8726 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003768/0.6783, allocations: 1.401 MB / 0.874 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.6783, allocations: 0 / 0.874 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.6804, allocations: 0.8319 MB / 0.8748 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6818, allocations: 280.4 kB / 0.8751 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.6873, allocations: 2.781 MB / 0.8778 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.6879, allocations: 1.092 MB / 0.8789 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001456/0.6894, allocations: 335.7 kB / 0.8792 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.6899, allocations: 127.3 kB / 0.8793 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.6899, allocations: 4 kB / 0.8793 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of Templates: time 0.02751/0.7174, allocations: 17.36 MB / 0.8963 GB, free: 7.156 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)