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.0008402/0.0008403, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008674/0.0008674, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 277.9 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 12.59 kB / 0.598 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004609/0.1735, allocations: 3.985 MB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4646/0.6381, allocations: 137 MB / 0.8221 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.6392, allocations: 15.16 kB / 0.8221 GB, free: 492 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.6397, allocations: 139.5 kB / 0.8223 GB, free: 424 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.6415, allocations: 427.2 kB / 0.8227 GB, free: 240 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.644, allocations: 0.7146 MB / 0.8234 GB, free: 80 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.6459, allocations: 1.274 MB / 0.8246 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009477/0.6469, allocations: 0.5671 MB / 0.8252 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.6478, allocations: 411.1 kB / 0.8256 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.6485, allocations: 454.3 kB / 0.826 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.6486, allocations: 34.53 kB / 0.826 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.6498, allocations: 371.4 kB / 0.8264 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.6501, allocations: 227 kB / 0.8266 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.6504, allocations: 217.8 kB / 0.8268 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.6522, allocations: 1.337 MB / 0.8281 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.6522, allocations: 0 / 0.8281 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6522, allocations: 0 / 0.8281 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.237e-05/0.6523, allocations: 0 / 0.8281 GB, free: 14.42 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.00305/0.6553, allocations: 1.417 MB / 0.8295 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6554, allocations: 12.78 kB / 0.8295 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.6603, allocations: 0.8272 MB / 0.8303 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.6618, allocations: 0.7767 MB / 0.8311 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.6619, allocations: 78.58 kB / 0.8311 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.6621, allocations: 106.7 kB / 0.8312 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.6652, allocations: 1.451 MB / 0.8327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.6652, allocations: 4 kB / 0.8327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6653, allocations: 49.67 kB / 0.8327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.6653, allocations: 28.88 kB / 0.8327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/0.6697, allocations: 1.931 MB / 0.8346 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.6758, allocations: 3.323 MB / 0.8379 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.6788, allocations: 1.383 MB / 0.8392 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.6801, allocations: 0.6004 MB / 0.8398 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/0.6808, allocations: 486.4 kB / 0.8403 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.6825, allocations: 0.7996 MB / 0.8411 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=109): time 2.825e-06/0.6825, allocations: 0 / 0.8411 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109): time 0.005469/0.688, allocations: 1.984 MB / 0.843 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6881, allocations: 191.9 kB / 0.8432 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.689, allocations: 0.647 MB / 0.8438 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.6892, allocations: 47.45 kB / 0.8439 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.6895, allocations: 435.9 kB / 0.8443 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.6898, allocations: 367.1 kB / 0.8446 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.6899, allocations: 21.16 kB / 0.8446 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6901, allocations: 398.2 kB / 0.845 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.6914, allocations: 0.499 MB / 0.8455 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.6928, allocations: 0.6196 MB / 0.8461 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6941, allocations: 0.5266 MB / 0.8466 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6942, allocations: 0 / 0.8466 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003557/0.6977, allocations: 1.376 MB / 0.848 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.6978, allocations: 5.688 kB / 0.848 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6978, allocations: 4.125 kB / 0.848 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.6983, allocations: 87.36 kB / 0.8481 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.6997, allocations: 276.9 kB / 0.8483 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.7017, allocations: 1.524 MB / 0.8498 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7031, allocations: 178 kB / 0.85 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.7032, allocations: 45.84 kB / 0.85 GB, free: 2.766 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000598/0.7038, allocations: 292 kB / 0.8503 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.704, allocations: 97.22 kB / 0.8504 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.7082, allocations: 1.694 MB / 0.8521 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7082, allocations: 10.94 kB / 0.8521 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7082, allocations: 0 / 0.8521 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.7082, allocations: 11.28 kB / 0.8521 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/0.7139, allocations: 2.849 MB / 0.8549 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7139, allocations: 0 / 0.8549 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.7151, allocations: 256.9 kB / 0.8551 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.7156, allocations: 87.36 kB / 0.8552 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/0.7157, allocations: 34.69 kB / 0.8552 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.7174, allocations: 1.542 MB / 0.8567 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7174, allocations: 6.844 kB / 0.8567 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.7211, allocations: 1.536 MB / 0.8582 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/0.7217, allocations: 336.5 kB / 0.8586 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7219, allocations: 21.81 kB / 0.8586 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.723, allocations: 143.5 kB / 0.8587 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.7232, allocations: 86.31 kB / 0.8588 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.7233, allocations: 50.12 kB / 0.8588 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006261/0.7239, allocations: 467 kB / 0.8593 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7239, allocations: 0 / 0.8593 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001183/0.7251, allocations: 387.1 kB / 0.8597 GB, free: 12.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.7266, allocations: 0.6279 MB / 0.8603 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7301, allocations: 1.386 MB / 0.8616 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7301, allocations: 4 kB / 0.8616 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.732, allocations: 0.8203 MB / 0.8624 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7334, allocations: 265.8 kB / 0.8627 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.7389, allocations: 2.722 MB / 0.8653 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.7395, allocations: 1.08 MB / 0.8664 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001671/0.7412, allocations: 335.7 kB / 0.8667 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.7417, allocations: 131.4 kB / 0.8668 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/0.7417, allocations: 0 / 0.8668 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.02849/0.7702, allocations: 16.87 MB / 0.8833 GB, free: 4.105 MB / 0.5919 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)