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.001303/0.001303, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001271/0.001271, allocations: 192 kB / 17.2 MB, free: 5.598 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.633/1.633, 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.8867/0.8867, allocations: 125.4 MB / 416.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003085/0.003086, allocations: 67.89 kB / 0.4941 GB, free: 4.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4551, allocations: 78.56 MB / 0.5709 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007984/0.4632, allocations: 5.373 MB / 0.5761 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2039/0.6671, allocations: 150.9 MB / 0.7234 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.6688, allocations: 15.94 kB / 0.7234 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.6696, allocations: 210 kB / 0.7236 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.6721, allocations: 0.5711 MB / 0.7242 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.6748, allocations: 0.9481 MB / 0.7251 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.6772, allocations: 1.608 MB / 0.7267 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6784, allocations: 0.7357 MB / 0.7274 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6794, allocations: 0.5918 MB / 0.728 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008905/0.6803, allocations: 0.6458 MB / 0.7286 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.6805, allocations: 140 kB / 0.7287 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.6818, allocations: 0.4996 MB / 0.7292 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.6823, allocations: 366.8 kB / 0.7296 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.683, allocations: 0.6725 MB / 0.7302 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.6858, allocations: 1.865 MB / 0.7321 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6858, allocations: 0 / 0.7321 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6858, allocations: 0 / 0.7321 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.6858, allocations: 0 / 0.7321 GB, free: 1.918 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.003514/0.6893, allocations: 1.672 MB / 0.7337 GB, free: 196 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6894, allocations: 12.62 kB / 0.7337 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.6946, allocations: 0.7561 MB / 0.7344 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.696, allocations: 0.8046 MB / 0.7352 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.6961, allocations: 86.14 kB / 0.7353 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6963, allocations: 108 kB / 0.7354 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.6996, allocations: 1.436 MB / 0.7368 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6996, allocations: 3.984 kB / 0.7368 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.6998, allocations: 51.94 kB / 0.7369 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.6998, allocations: 24 kB / 0.7369 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.7047, allocations: 1.885 MB / 0.7387 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.712, allocations: 3.644 MB / 0.7423 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.7156, allocations: 1.382 MB / 0.7436 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.7172, allocations: 0.6085 MB / 0.7442 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.718, allocations: 470.4 kB / 0.7447 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.72, allocations: 0.8127 MB / 0.7455 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 4.678e-06/0.7201, allocations: 0 / 0.7455 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.006518/0.7266, allocations: 1.973 MB / 0.7474 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.7268, allocations: 196.9 kB / 0.7476 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.728, allocations: 0.6566 MB / 0.7482 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7281, allocations: 45.7 kB / 0.7483 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.7286, allocations: 440.5 kB / 0.7487 GB, free: 324 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.3656/1.094, allocations: 351.3 kB / 0.749 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008195/1.095, allocations: 207 kB / 0.7492 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003151/1.095, allocations: 396.7 kB / 0.7496 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/1.098, allocations: 0.5032 MB / 0.7501 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/1.1, allocations: 0.6095 MB / 0.7507 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/1.103, allocations: 1.086 MB / 0.7518 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.103, allocations: 0.7188 kB / 0.7518 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004643/1.108, allocations: 1.378 MB / 0.7531 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.108, allocations: 6.094 kB / 0.7531 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.108, allocations: 1.719 kB / 0.7531 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/1.109, allocations: 83.5 kB / 0.7532 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.11, allocations: 268.2 kB / 0.7535 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.112, allocations: 1.63 MB / 0.755 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.114, allocations: 168.4 kB / 0.7552 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.114, allocations: 56.06 kB / 0.7553 GB, free: 167.2 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.000678/1.115, allocations: 287.4 kB / 0.7555 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/1.115, allocations: 94.97 kB / 0.7556 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/1.121, allocations: 1.684 MB / 0.7573 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.121, allocations: 12.78 kB / 0.7573 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.121, allocations: 0.5625 kB / 0.7573 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.121, allocations: 6.047 kB / 0.7573 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/1.127, allocations: 2.787 MB / 0.76 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.127, allocations: 1.375 kB / 0.76 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.129, allocations: 251.6 kB / 0.7602 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/1.129, allocations: 80.06 kB / 0.7603 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/1.129, allocations: 34.22 kB / 0.7604 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.131, allocations: 1.671 MB / 0.762 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.131, allocations: 0 / 0.762 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/1.135, allocations: 1.53 MB / 0.7635 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/1.136, allocations: 316.2 kB / 0.7638 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.136, allocations: 23.81 kB / 0.7638 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.137, allocations: 117.3 kB / 0.7639 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.137, allocations: 90.77 kB / 0.764 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.137, allocations: 49.12 kB / 0.7641 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007267/1.138, allocations: 474.4 kB / 0.7645 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.042e-06/1.138, allocations: 0 / 0.7645 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001712/1.14, allocations: 408 kB / 0.7649 GB, free: 162.4 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.002118/1.142, allocations: 0.6251 MB / 0.7655 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005237/1.147, allocations: 1.66 MB / 0.7671 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.147, allocations: 0 / 0.7671 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.15, allocations: 0.821 MB / 0.7679 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.151, allocations: 321.1 kB / 0.7682 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/1.156, allocations: 2.119 MB / 0.7703 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/1.157, allocations: 1.085 MB / 0.7714 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00168/1.158, allocations: 336.1 kB / 0.7717 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/1.159, allocations: 133 kB / 0.7718 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/1.159, allocations: 3.938 kB / 0.7718 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.02856/1.187, allocations: 18.3 MB / 0.7897 GB, free: 142.4 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)